[Change] Disabled leaf ticks for some variants
This commit is contained in:
parent
c3d2292d71
commit
ef2cb2a80c
2 changed files with 4 additions and 3 deletions
|
@ -34,7 +34,7 @@ public class HelixTreeLeavesBlock extends BaseBlock implements BehaviourLeaves,
|
||||||
|
|
||||||
public HelixTreeLeavesBlock() {
|
public HelixTreeLeavesBlock() {
|
||||||
super(BehaviourBuilders
|
super(BehaviourBuilders
|
||||||
.createLeaves(MapColor.COLOR_ORANGE, true)
|
.createStaticLeaves(MapColor.COLOR_ORANGE, true)
|
||||||
.sound(SoundType.WART_BLOCK)
|
.sound(SoundType.WART_BLOCK)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package org.betterx.betterend.blocks.basis;
|
package org.betterx.betterend.blocks.basis;
|
||||||
|
|
||||||
|
import org.betterx.bclib.behaviours.BehaviourBuilders;
|
||||||
import org.betterx.bclib.blocks.BaseLeavesBlock;
|
import org.betterx.bclib.blocks.BaseLeavesBlock;
|
||||||
import org.betterx.bclib.interfaces.SurvivesOnBlocks;
|
import org.betterx.bclib.interfaces.SurvivesOnBlocks;
|
||||||
import org.betterx.betterend.interfaces.PottablePlant;
|
import org.betterx.betterend.interfaces.PottablePlant;
|
||||||
|
@ -12,11 +13,11 @@ import java.util.List;
|
||||||
public class PottableLeavesBlock extends BaseLeavesBlock implements PottablePlant, SurvivesOnBlocks {
|
public class PottableLeavesBlock extends BaseLeavesBlock implements PottablePlant, SurvivesOnBlocks {
|
||||||
|
|
||||||
public PottableLeavesBlock(Block sapling, MapColor color) {
|
public PottableLeavesBlock(Block sapling, MapColor color) {
|
||||||
super(sapling, color);
|
super(sapling, BehaviourBuilders.createStaticLeaves(color, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
public PottableLeavesBlock(Block sapling, MapColor color, int light) {
|
public PottableLeavesBlock(Block sapling, MapColor color, int light) {
|
||||||
super(sapling, color, light);
|
super(sapling, BehaviourBuilders.createStaticLeaves(color, true).lightLevel(state -> light));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue