glass glow pane

This commit is contained in:
Glitchlabs
2026-06-25 21:11:48 +02:00
parent f1c4d21c2e
commit 62bcc738f6
71 changed files with 981 additions and 2 deletions
@@ -0,0 +1,18 @@
package ovh.glitchlabs.ornamentum.blocks;
import net.minecraft.world.level.block.IronBarsBlock;
import net.minecraft.world.level.block.state.BlockBehaviour;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.core.Direction;
public class GlowGlassPaneBlock extends IronBarsBlock {
public GlowGlassPaneBlock(BlockBehaviour.Properties properties) {
super(properties);
}
@Override
public boolean skipRendering(BlockState state, BlockState adjacentBlockState, Direction side) {
return adjacentBlockState.getBlock() instanceof GlowGlassPaneBlock || super.skipRendering(state, adjacentBlockState, side);
}
}