def setRotation(self, yaw): return CmdEntity.setRotation(self, self.pid, yaw)
def setDirection(self, *args): return CmdEntity.setDirection(self, self.pid, args)
def getDirection(self): return CmdEntity.getDirection(self, self.pid)
def getTilePos(self): try: return CmdEntity.getTilePos(self, self.pid) except: print("Retrying") return CmdEntity.getTilePos(self, self.pid)
def setTilePos(self, *args): return CmdEntity.setTilePos(self, self.pid, args)
def getName(self): return CmdEntity.getName(self, self.pid)
def getPos(self): return CmdEntity.getPos(self, self.pid)
def __init__(self, connection, pid): CmdEntity.__init__(self, connection) self.pid = pid
def pollBlockHits(self): return CmdEntity.pollBlockHits(self, self.pid)
def removeEntities(self, distance=10, typeId=-1): return CmdEntity.removeEntities(self, self.pid, distance=10, typeId=-1)
def getEntities(self, distance=10, typeId=-1): return CmdEntity.getEntities(self, self.pid, distance=10, typeId=-1)
def getPitch(self): return CmdEntity.getPitch(self, self.pid)
def setPitch(self, pitch): return CmdEntity.setPitch(self, self.pid, pitch)
def getRotation(self): return CmdEntity.getRotation(self, self.pid)