diff --git a/src/tconstruct/blocks/SoilBlock.java b/src/tconstruct/blocks/SoilBlock.java index aebb7309..6d134a85 100644 --- a/src/tconstruct/blocks/SoilBlock.java +++ b/src/tconstruct/blocks/SoilBlock.java @@ -46,11 +46,6 @@ public class SoilBlock extends TConstructBlock return Block.dirt.blockHardness; return this.blockHardness; } - - public boolean isOpaqueCube() - { - return false; - } /*public void setBlockBoundsBasedOnState(IBlockAccess world, int x, int y, int z) { diff --git a/src/tconstruct/blocks/slime/SlimeGel.java b/src/tconstruct/blocks/slime/SlimeGel.java index 0e262c33..25fa7dd4 100644 --- a/src/tconstruct/blocks/slime/SlimeGel.java +++ b/src/tconstruct/blocks/slime/SlimeGel.java @@ -73,9 +73,4 @@ public class SlimeGel extends TConstructBlock { return true; } - - public boolean isOpaqueCube() - { - return false; - } } diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index c6a2fa74..db852194 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -369,7 +369,7 @@ public class TContent implements IFuelHandler GameRegistry.registerBlock(heldItemBlock, "HeldItemBlock"); GameRegistry.registerTileEntity(FrypanLogic.class, "FrypanLogic"); - craftedSoil = new SoilBlock(PHConstruct.craftedSoil).setUnlocalizedName("TConstruct.Soil"); + craftedSoil = new SoilBlock(PHConstruct.craftedSoil).setLightOpacity(0).setUnlocalizedName("TConstruct.Soil"); craftedSoil.stepSound = Block.soundGravelFootstep; GameRegistry.registerBlock(craftedSoil, CraftedSoilItemBlock.class, "CraftedSoil"); @@ -713,16 +713,16 @@ public class TContent implements IFuelHandler blueSlimeFluid.setBlockID(slimePool); FluidContainerRegistry.registerFluidContainer(new FluidContainerData(new FluidStack(blueSlimeFluid, 1000), new ItemStack(buckets, 1, 24), new ItemStack(Item.bucketEmpty))); - slimeGel = new SlimeGel(PHConstruct.slimeGel).setStepSound(slimeStep).setUnlocalizedName("slime.gel"); + slimeGel = new SlimeGel(PHConstruct.slimeGel).setStepSound(slimeStep).setLightOpacity(0).setUnlocalizedName("slime.gel"); GameRegistry.registerBlock(slimeGel, SlimeGelItemBlock.class, "slime.gel"); - slimeGrass = new SlimeGrass(PHConstruct.slimeGrass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("slime.grass"); + slimeGrass = new SlimeGrass(PHConstruct.slimeGrass).setStepSound(Block.soundGrassFootstep).setLightOpacity(0).setUnlocalizedName("slime.grass"); GameRegistry.registerBlock(slimeGrass, SlimeGrassItemBlock.class, "slime.grass"); slimeTallGrass = new SlimeTallGrass(PHConstruct.slimeTallGrass).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("slime.grass.tall"); GameRegistry.registerBlock(slimeTallGrass, SlimeTallGrassItem.class, "slime.grass.tall"); - slimeLeaves = (SlimeLeaves) new SlimeLeaves(PHConstruct.slimeLeaves).setStepSound(slimeStep).setUnlocalizedName("slime.leaves"); + slimeLeaves = (SlimeLeaves) new SlimeLeaves(PHConstruct.slimeLeaves).setStepSound(slimeStep).setLightOpacity(0).setUnlocalizedName("slime.leaves"); GameRegistry.registerBlock(slimeLeaves, SlimeLeavesItemBlock.class, "slime.leaves"); slimeSapling = (SlimeSapling) new SlimeSapling(PHConstruct.slimeSapling).setStepSound(slimeStep).setUnlocalizedName("slime.sapling");