[Change] Disabled leaf ticks for some variants

This commit is contained in:
Frank 2023-08-15 13:13:18 +02:00
parent c3d2292d71
commit ef2cb2a80c
2 changed files with 4 additions and 3 deletions

View file

@ -34,7 +34,7 @@ public class HelixTreeLeavesBlock extends BaseBlock implements BehaviourLeaves,
public HelixTreeLeavesBlock() {
super(BehaviourBuilders
.createLeaves(MapColor.COLOR_ORANGE, true)
.createStaticLeaves(MapColor.COLOR_ORANGE, true)
.sound(SoundType.WART_BLOCK)
);

View file

@ -1,5 +1,6 @@
package org.betterx.betterend.blocks.basis;
import org.betterx.bclib.behaviours.BehaviourBuilders;
import org.betterx.bclib.blocks.BaseLeavesBlock;
import org.betterx.bclib.interfaces.SurvivesOnBlocks;
import org.betterx.betterend.interfaces.PottablePlant;
@ -12,11 +13,11 @@ import java.util.List;
public class PottableLeavesBlock extends BaseLeavesBlock implements PottablePlant, SurvivesOnBlocks {
public PottableLeavesBlock(Block sapling, MapColor color) {
super(sapling, color);
super(sapling, BehaviourBuilders.createStaticLeaves(color, true));
}
public PottableLeavesBlock(Block sapling, MapColor color, int light) {
super(sapling, color, light);
super(sapling, BehaviourBuilders.createStaticLeaves(color, true).lightLevel(state -> light));
}
@Override