TContent refactor Part 1

This commit is contained in:
Progwml6 committed 2013-11-29 23:16:32 -05:00
1 parent 241bfcf0d5
commit 1a74c0768f
77 files changed
+1884 -5647

No files matched your search

@@ -2,7 +2,7 @@ package tconstruct.items.blocks;
import java.util.List;
import tconstruct.common.TContent;
import tconstruct.common.TRepo;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
@@ -44,7 +44,7 @@ public class OreberryBushItem extends ItemBlock
{
Block block = Block.blocksList[world.getBlockId(x, y, z)];
if (block != null && block.canSustainPlant(world, x, y, z, ForgeDirection.UP, (IPlantable) TContent.oreBerry) && world.isAirBlock(x, y + 1, z))
if (block != null && block.canSustainPlant(world, x, y, z, ForgeDirection.UP, (IPlantable) TRepo.oreBerry) && world.isAirBlock(x, y + 1, z))
{
world.setBlock(x, y + 1, z, blockID, stack.getItemDamage() % 4, 3);
if (!player.capabilities.isCreativeMode)