From 7b843a9982161832c58dfe640f2b4626f01c776d Mon Sep 17 00:00:00 2001 From: tmcgeorge Date: Mon, 21 Oct 2013 22:34:18 -0500 Subject: [PATCH] 100% more transparent --- src/tconstruct/blocks/SoilBlock.java | 5 ----- src/tconstruct/blocks/slime/SlimeGel.java | 5 ----- src/tconstruct/common/TContent.java | 4 ++-- 3 files changed, 2 insertions(+), 12 deletions(-) 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 57af9436..569e7da8 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -713,10 +713,10 @@ 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");