work on entites

This commit is contained in:
Progwml6 committed 2014-01-21 18:01:00 -05:00
1 parent 780e933985
commit 1f0ab2b74a
16 files changed
+63 -53

No files matched your search

@@ -627,14 +627,14 @@ public class TContent implements IFuelHandler
TConstructRegistry.addItemStackToDirectory("canisterRedHeart", new ItemStack(TRepo.heartCanister, 1, 2));
//Vanilla stack sizes
Item.doorWood.setMaxStackSize(16);
Item.doorIron.setMaxStackSize(16);
Item.snowball.setMaxStackSize(64);
Item.boat.setMaxStackSize(16);
Item.minecartEmpty.setMaxStackSize(3);
Item.minecartCrate.setMaxStackSize(3);
Item.minecartPowered.setMaxStackSize(3);
Item.itemsList[Block.cake.blockID].setMaxStackSize(16);
Items.wooden_door.setMaxStackSize(16);
Items.iron_door.setMaxStackSize(16);
Items.snowball.setMaxStackSize(64);
Items.boat.setMaxStackSize(16);
Items.minecartEmpty.setMaxStackSize(3);
Items.minecartCrate.setMaxStackSize(3);
Items.minecartPowered.setMaxStackSize(3);
Items.itemsList[Block.cake.blockID].setMaxStackSize(16);
//Block.torchWood.setTickRandomly(false);
}
@@ -44,12 +44,12 @@ public class TProxyCommon implements IGuiHandler
if (ID == landmineID)
{
return new ContainerLandmine(player, (TileEntityLandmine) world.getBlockTileEntity(x, y, z));
return new ContainerLandmine(player, (TileEntityLandmine) world.func_147438_o(x, y, z));
}
else if (ID < 100)
{
TileEntity tile = world.getBlockTileEntity(x, y, z);
TileEntity tile = world.func_147438_o(x, y, z);
if (tile != null && tile instanceof InventoryLogic)
{
return ((InventoryLogic) tile).getGuiContainer(player.inventory, world, x, y, z);