Fixed brightness issue with crystals.

This commit is contained in:
WayofTime 2016-02-25 11:29:48 -05:00
parent 3fc6b5627f
commit 8077962e08
12 changed files with 1239 additions and 55 deletions

View file

@ -56,12 +56,6 @@ public class BlockDemonCrystal extends Block
return 3;
}
@Override
public boolean canRenderInLayer(EnumWorldBlockLayer layer)
{
return layer == EnumWorldBlockLayer.CUTOUT_MIPPED || layer == EnumWorldBlockLayer.TRANSLUCENT;
}
// public boolean canBlockStay(World worldIn, BlockPos pos, IBlockState state)
// {
// return (worldIn.getLight(pos) >= 8 || worldIn.canSeeSky(pos)) && worldIn.getBlockState(pos.down()).getBlock().canSustainPlant(worldIn, pos.down(), net.minecraft.util.EnumFacing.UP, this);