This commit is contained in:
modmuss50 2019-09-21 13:01:38 +01:00
parent 2d8961589d
commit 3fe62e2c77
6 changed files with 19 additions and 26 deletions

View file

@ -153,11 +153,6 @@ public class BlockAlarm extends BaseBlockEntityProvider {
return BlockRenderType.MODEL;
}
@Override
public BlockRenderLayer getRenderLayer() {
return BlockRenderLayer.CUTOUT;
}
@Override
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, EntityContext entityContext) {

View file

@ -166,11 +166,6 @@ public class BlockCable extends BlockWithEntity {
return ourState.with(getProperty(ourFacing), value);
}
@Override
public BlockRenderLayer getRenderLayer() {
return BlockRenderLayer.CUTOUT;
}
@Override
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, EntityContext entityContext) {
if (type != null) {

View file

@ -130,12 +130,6 @@ public class BlockLamp extends BaseBlockEntityProvider {
public int getLuminance(BlockState state) {
return state.get(ACTIVE) ? brightness : 0;
}
@Override
public BlockRenderLayer getRenderLayer() {
return BlockRenderLayer.CUTOUT;
}
@Override
public BlockRenderType getRenderType(BlockState state) {