[Change] Changed default settings/Behaviours for plants

This commit is contained in:
Frank 2023-06-13 16:46:05 +02:00
parent 3d7eaa7ec5
commit 8013404726
18 changed files with 71 additions and 159 deletions

View file

@ -50,16 +50,13 @@ public class FeatureSaplingBlock<F extends Feature<FC>, FC extends FeatureConfig
private final FeatureSupplier<F, FC> feature;
public FeatureSaplingBlock(FeatureSupplier<F, FC> featureSupplier) {
this(
BehaviourBuilders.createTickingPlant()
.sound(SoundType.GRASS),
featureSupplier
);
this(0, featureSupplier);
}
public FeatureSaplingBlock(int light, FeatureSupplier<F, FC> featureSupplier) {
this(
BehaviourBuilders.createTickingPlant()
BehaviourBuilders.createPlant().randomTicks()
.noCollission()
.lightLevel(state -> light)
.sound(SoundType.GRASS),
featureSupplier