def read(self):
     return c.DataGet(self.storage, self.path, self.type.scale)
 def read(self):
     return c.DataGet(self.entity.ref, self.path, self.type.scale)
Beispiel #3
0
 def as_cmd(self):
     return c.DataGet(self.target, c.NbtPath(self.path), self.scale)
Beispiel #4
0
 def as_cmd(self, func):
     direct = self.var._direct_nbt()
     assert direct is not None, self.var
     path, storage = direct
     return c.DataGet(storage, path, None)