#[1.21] making a block invisible [SOLVED]

5 messages · Page 1 of 1 (latest)

eager plover
#

in 1.19.3 I could just set ".air()" to make a block invisible

That does not work anymore in 1.21...

Can someone please nudge me in the right direction? Thank you!

public static final Block LIGHT_BLOCK = registerBlock("light_block",
new Block(AbstractBlock.Settings.copy(Blocks.GLASS)
.strength(0.5f,30f)
.nonOpaque()
.luminance(state->15)
.noCollision()
.air()
));

mental nacelle
#

how does it loom now?

#

look

green lagoon
eager plover