Fixed slab/stair lighting issues

This commit is contained in:
Adubbz 2013-12-28 09:59:12 +11:00
parent 30667fc0f4
commit 46fefd716b
2 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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);
}