public class BranchedTreeFeatureConfig extends TreeFeatureConfig
Modifier and Type | Class and Description |
---|---|
static class |
BranchedTreeFeatureConfig.Builder |
Modifier and Type | Field and Description |
---|---|
FoliagePlacer |
foliagePlacer |
int |
maxFluidDepth |
boolean |
noVines |
TrunkPlacer |
trunkPlacer |
baseHeight, decorators, leavesProvider, skipFluidCheck, trunkProvider
DEFAULT
Modifier | Constructor and Description |
---|---|
protected |
BranchedTreeFeatureConfig(BlockStateProvider trunkProvider,
BlockStateProvider leavesProvider,
FoliagePlacer foliagePlacer,
TrunkPlacer trunkPlacer,
List<TreeDecorator> decorators,
int heightRandA,
boolean noVines) |
Modifier and Type | Method and Description |
---|---|
static <T> BranchedTreeFeatureConfig |
deserialize(com.mojang.datafixers.Dynamic<T> data) |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
ignoreFluidCheck
public final FoliagePlacer foliagePlacer
public final TrunkPlacer trunkPlacer
public final int maxFluidDepth
public final boolean noVines
protected BranchedTreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, List<TreeDecorator> decorators, int heightRandA, boolean noVines)
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
serialize
in interface FeatureConfig
serialize
in class TreeFeatureConfig
public static <T> BranchedTreeFeatureConfig deserialize(com.mojang.datafixers.Dynamic<T> data)