From 7b843a9982161832c58dfe640f2b4626f01c776d Mon Sep 17 00:00:00 2001 From: tmcgeorge Date: Mon, 21 Oct 2013 22:34:18 -0500 Subject: [PATCH 1/3] 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"); From 974818143683c5b4ba224382a35e898c7395f51d Mon Sep 17 00:00:00 2001 From: tmcgeorge Date: Mon, 21 Oct 2013 22:44:01 -0500 Subject: [PATCH 2/3] Even more transparent - Crafted Soil --- src/tconstruct/common/TContent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index 569e7da8..5f412bf0 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"); From d7cfe46fb8b23a203ecbee0a58f17d34ded4667b Mon Sep 17 00:00:00 2001 From: tmcgeorge Date: Mon, 21 Oct 2013 23:20:40 -0500 Subject: [PATCH 3/3] More more transparent! Leaves --- src/tconstruct/common/TContent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tconstruct/common/TContent.java b/src/tconstruct/common/TContent.java index 5f412bf0..7d6f0f80 100644 --- a/src/tconstruct/common/TContent.java +++ b/src/tconstruct/common/TContent.java @@ -722,7 +722,7 @@ public class TContent implements IFuelHandler 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");