From 46fefd716ba80f91497d1bfec4673a89335ba3da Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sat, 28 Dec 2013 09:59:12 +1100 Subject: [PATCH] Fixed slab/stair lighting issues --- .../biomesoplenty/common/blocks/BlockBOPSlab.java | 3 +++ .../biomesoplenty/common/blocks/BlockBOPStairs.java | 13 ++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/java/biomesoplenty/common/blocks/BlockBOPSlab.java b/src/main/java/biomesoplenty/common/blocks/BlockBOPSlab.java index 94294a69e..887ac630b 100644 --- a/src/main/java/biomesoplenty/common/blocks/BlockBOPSlab.java +++ b/src/main/java/biomesoplenty/common/blocks/BlockBOPSlab.java @@ -61,6 +61,9 @@ public class BlockBOPSlab extends BlockSlab //TODO: this.setCreativeTab() this.func_149647_a(BiomesOPlenty.tabBiomesOPlenty); } + + //TODO: useNeighborBrightness? + field_149783_u = true; } @Override diff --git a/src/main/java/biomesoplenty/common/blocks/BlockBOPStairs.java b/src/main/java/biomesoplenty/common/blocks/BlockBOPStairs.java index bf6adb371..d83f189dc 100644 --- a/src/main/java/biomesoplenty/common/blocks/BlockBOPStairs.java +++ b/src/main/java/biomesoplenty/common/blocks/BlockBOPStairs.java @@ -35,14 +35,14 @@ public class BlockBOPStairs extends BlockStairs public BlockBOPStairs(Block model, Category cat) { super(model, 0); - + category = cat; - + if (isWoodCategory(category.toString())) { //TODO: this.setHardness this.func_149711_c(2.0F); - + //TODO setStepSound(Block.soundWoodFootstep) this.func_149672_a(Block.field_149766_f); } @@ -50,14 +50,17 @@ public class BlockBOPStairs extends BlockStairs { //TODO: this.setHardness this.func_149711_c(3.0F); - + //TODO setStepSound(Block.soundStoneFootstep) this.func_149672_a(Block.field_149780_i); } //TODO: setBurnProperties() getIdFromBlock() Blocks.fire.func_149842_a(func_149682_b(this), 5, 20); - + + //TODO: useNeighborBrightness? + field_149783_u = true; + //TODO: this.setCreativeTab() this.func_149647_a(BiomesOPlenty.tabBiomesOPlenty); }