Remove todo from Greenhouse Glass

This commit is contained in:
Mrbysco 2024-03-11 22:22:20 +01:00
parent 5182ac8b92
commit 1224c1de29

View file

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