Ejemplo n.º 1
0
 @Override
 public void setBlockBoundsBasedOnState(IBlockAccess iblockaccess, int x, int y, int z) {
   int metadata = iblockaccess.getBlockMetadata(x, y, z);
   TileEntityBase tileentitybase =
       (TileEntityBase)
           BlockHelper.getTileEntity(iblockaccess, x, y, z, this.getTileMapData(metadata));
   if (tileentitybase != null) {
     tileentitybase.setBlockBoundsBasedOnState(this);
   } else {
     super.setBlockBoundsBasedOnState(iblockaccess, x, y, z);
   }
 }