Package net.minecraft.world.gen.feature
Class TreeFeatureConfig
java.lang.Object
net.minecraft.world.gen.feature.TreeFeatureConfig
- All Implemented Interfaces:
FeatureConfig
public class TreeFeatureConfig extends Object implements FeatureConfig
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TreeFeatureConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<TreeFeatureConfig>
CODEC
List<TreeDecorator>
decorators
FoliagePlacer
foliagePlacer
Heightmap.Type
heightmap
boolean
ignoreVines
BlockStateProvider
leavesProvider
int
maxWaterDepth
FeatureSize
minimumSize
boolean
skipFluidCheck
TrunkPlacer
trunkPlacer
BlockStateProvider
trunkProvider
Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
Constructors Modifier Constructor Description protected
TreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, int maxWaterDepth, boolean ignoreVines, Heightmap.Type heightmap)
-
Method Summary
Modifier and Type Method Description void
ignoreFluidCheck()
TreeFeatureConfig
setTreeDecorators(List<TreeDecorator> decorators)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.feature.FeatureConfig
method_30649
-
Field Details
-
CODEC
-
trunkProvider
-
leavesProvider
-
decorators
-
skipFluidCheck
public transient boolean skipFluidCheck -
foliagePlacer
-
trunkPlacer
-
minimumSize
-
maxWaterDepth
public final int maxWaterDepth -
ignoreVines
public final boolean ignoreVines -
heightmap
-
-
Constructor Details
-
TreeFeatureConfig
protected TreeFeatureConfig(BlockStateProvider trunkProvider, BlockStateProvider leavesProvider, FoliagePlacer foliagePlacer, TrunkPlacer trunkPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, int maxWaterDepth, boolean ignoreVines, Heightmap.Type heightmap)
-
-
Method Details
-
ignoreFluidCheck
public void ignoreFluidCheck() -
setTreeDecorators
-