Updated for 1.19 release Version
This commit is contained in:
parent
bddb5fe0d7
commit
170608fef5
64 changed files with 445 additions and 131 deletions
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class DragonTreeSaplingBlock extends PottableFeatureSapling {
|
||||
public DragonTreeSaplingBlock() {
|
||||
super((state) -> EndFeatures.DRAGON_TREE.getFeature());
|
||||
super((state) -> EndFeatures.DRAGON_TREE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class HelixTreeSaplingBlock extends PottableFeatureSapling {
|
||||
public HelixTreeSaplingBlock() {
|
||||
super((state) -> EndFeatures.HELIX_TREE.getFeature());
|
||||
super((state) -> EndFeatures.HELIX_TREE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class LacugroveSaplingBlock extends PottableFeatureSapling {
|
||||
public LacugroveSaplingBlock() {
|
||||
super((state) -> EndFeatures.LACUGROVE.getFeature());
|
||||
super((state) -> EndFeatures.LACUGROVE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class LucerniaSaplingBlock extends PottableFeatureSapling {
|
||||
public LucerniaSaplingBlock() {
|
||||
super((state) -> EndFeatures.LUCERNIA.getFeature());
|
||||
super((state) -> EndFeatures.LUCERNIA);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class MossyGlowshroomSaplingBlock extends PottableFeatureSapling {
|
||||
public MossyGlowshroomSaplingBlock() {
|
||||
super(7, (state) -> EndFeatures.MOSSY_GLOWSHROOM.getFeature());
|
||||
super(7, (state) -> EndFeatures.MOSSY_GLOWSHROOM);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class PythadendronSaplingBlock extends PottableFeatureSapling {
|
||||
public PythadendronSaplingBlock() {
|
||||
super((state) -> EndFeatures.PYTHADENDRON_TREE.getFeature());
|
||||
super((state) -> EndFeatures.PYTHADENDRON_TREE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -11,7 +11,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class TenaneaSaplingBlock extends PottableFeatureSapling {
|
||||
public TenaneaSaplingBlock() {
|
||||
super((state) -> EndFeatures.TENANEA.getFeature());
|
||||
super((state) -> EndFeatures.TENANEA);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -12,7 +12,7 @@ import org.betterx.betterend.registry.EndFeatures;
|
|||
|
||||
public class UmbrellaTreeSaplingBlock extends PottableFeatureSapling {
|
||||
public UmbrellaTreeSaplingBlock() {
|
||||
super((state) -> EndFeatures.UMBRELLA_TREE.getFeature());
|
||||
super((state) -> EndFeatures.UMBRELLA_TREE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -3,17 +3,18 @@ package org.betterx.betterend.blocks.basis;
|
|||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.levelgen.feature.Feature;
|
||||
|
||||
import org.betterx.bclib.api.v2.levelgen.features.BCLFeature;
|
||||
import org.betterx.bclib.blocks.FeatureSaplingBlock;
|
||||
import org.betterx.betterend.interfaces.PottablePlant;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
public abstract class PottableFeatureSapling extends FeatureSaplingBlock implements PottablePlant {
|
||||
public PottableFeatureSapling(Function<BlockState, Feature<?>> featureSupplier) {
|
||||
public PottableFeatureSapling(Function<BlockState, BCLFeature> featureSupplier) {
|
||||
super(featureSupplier);
|
||||
}
|
||||
|
||||
public PottableFeatureSapling(int light, Function<BlockState, Feature<?>> featureSupplier) {
|
||||
public PottableFeatureSapling(int light, Function<BlockState, BCLFeature> featureSupplier) {
|
||||
super(light, featureSupplier);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue