Examples of TileEntityReinforcedChest


Examples of net.mcft.copy.betterstorage.tile.entity.TileEntityReinforcedChest

  @SideOnly(Side.CLIENT)
  public int getRenderType() { return ClientProxy.reinforcedChestRenderId; }
 
  @Override
  public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) {
    TileEntityReinforcedChest chest = WorldUtils.get(world, x, y, z, TileEntityReinforcedChest.class);
    if (chest.isConnected()) {
      ForgeDirection connected = chest.getConnected();
      if (connected == ForgeDirection.NORTH)
        setBlockBounds(0.0625F, 0.0F, 0.0F, 0.9375F, 0.875F, 0.9375F);
      else if (connected == ForgeDirection.SOUTH)
        setBlockBounds(0.0625F, 0.0F, 0.0625F, 0.9375F, 0.875F, 1.0F);
      else if (connected == ForgeDirection.WEST)
View Full Code Here

Examples of net.mcft.copy.betterstorage.tile.entity.TileEntityReinforcedChest

    } else setBlockBounds(0.0625F, 0.0F, 0.0625F, 0.9375F, 0.875F, 0.9375F);
  }
 
  @Override
  public TileEntity createTileEntity(World world, int metadata) {
    return new TileEntityReinforcedChest();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.