(self, pos_or_x, y=None, z=None)
return self.block_entities.get(coord_tuple, None)
Access block entity data.

        Returns:
            BlockEntityData subclass instance or
            None if no block entity data is stored for that location.
Access block entity data.
Access block entity data .
def get_block_entity_data(self, pos_or_x, y=None, z=None):
        """
        Access block entity data.

        Returns:
            BlockEntityData subclass instance or
            None if no block entity data is stored for that location.
        """
        if None not in (y, z):  # x y z supplied
            pos_or_x = pos_or_x, y, z
        coord_tuple = tuple(int(floor(c)) for c in pos_or_x)
        return self.block_entities.get(coord_tuple, None)
def get_block_entity_data ( self , pos_or_x , y = None , z = None ) : if None not in ( y , z ) : # x y z supplied pos_or_x = pos_or_x , y , z coord_tuple = tuple ( int ( floor ( c ) ) for c in pos_or_x ) return self . block_entities . get ( coord_tuple , None )