mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Remove todo from Greenhouse Glass
This commit is contained in:
parent
5182ac8b92
commit
1224c1de29
1 changed files with 0 additions and 11 deletions
|
@ -30,17 +30,6 @@ public class BlockGreenhouseGlass extends BlockBase {
|
||||||
super(ActuallyBlocks.defaultPickProps(0.5F, 10.0F).sound(SoundType.GLASS).randomTicks());
|
super(ActuallyBlocks.defaultPickProps(0.5F, 10.0F).sound(SoundType.GLASS).randomTicks());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO: [port] figure this out
|
|
||||||
// @Override
|
|
||||||
// @Deprecated
|
|
||||||
// @OnlyIn(Dist.CLIENT)
|
|
||||||
// public boolean shouldSideBeRendered(BlockState state, IBlockAccess world, BlockPos pos, Direction side) {
|
|
||||||
// BlockState otherState = world.getBlockState(pos.offset(side));
|
|
||||||
// Block block = otherState.getBlock();
|
|
||||||
//
|
|
||||||
// return state != otherState || block != this && super.shouldSideBeRendered(state, world, pos, side);
|
|
||||||
// }
|
|
||||||
@Override
|
@Override
|
||||||
public boolean skipRendering(BlockState state, BlockState adjacentState, Direction side) {
|
public boolean skipRendering(BlockState state, BlockState adjacentState, Direction side) {
|
||||||
return adjacentState.is(this) ? true : super.skipRendering(state, adjacentState, side);
|
return adjacentState.is(this) ? true : super.skipRendering(state, adjacentState, side);
|
||||||
|
|
Loading…
Reference in a new issue