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