[Change] SimpleLeavesBlock do not register for random yticks

This commit is contained in:
Frank 2023-08-15 13:12:38 +02:00
parent 5fdf5299c5
commit 73771a5e92

View file

@ -13,7 +13,7 @@ public class SimpleLeavesBlock extends BaseBlockNotFull implements RenderLayerPr
public SimpleLeavesBlock(MapColor color) { public SimpleLeavesBlock(MapColor color) {
this( this(
BehaviourBuilders BehaviourBuilders
.createLeaves(color, true) .createStaticLeaves(color, true)
.sound(SoundType.GRASS) .sound(SoundType.GRASS)
); );
} }
@ -21,7 +21,7 @@ public class SimpleLeavesBlock extends BaseBlockNotFull implements RenderLayerPr
public SimpleLeavesBlock(MapColor color, int light) { public SimpleLeavesBlock(MapColor color, int light) {
this( this(
BehaviourBuilders BehaviourBuilders
.createLeaves(color, true) .createStaticLeaves(color, true)
.lightLevel(ignored -> light) .lightLevel(ignored -> light)
.sound(SoundType.GRASS) .sound(SoundType.GRASS)
); );