Package net.minecraft.world.gen.feature
Class BaseTreeFeatureConfig
- java.lang.Object
-
- net.minecraft.world.gen.feature.BaseTreeFeatureConfig
-
- All Implemented Interfaces:
IFeatureConfig
public class BaseTreeFeatureConfig extends java.lang.Object implements IFeatureConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseTreeFeatureConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BaseTreeFeatureConfig>
CODEC
java.util.List<TreeDecorator>
decorators
FoliagePlacer
foliagePlacer
boolean
fromSapling
Heightmap.Type
heightmap
boolean
ignoreVines
BlockStateProvider
leavesProvider
int
maxWaterDepth
AbstractFeatureSizeType
minimumSize
AbstractTrunkPlacer
trunkPlacer
BlockStateProvider
trunkProvider
-
Fields inherited from interface net.minecraft.world.gen.feature.IFeatureConfig
NONE
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseTreeFeatureConfig(BlockStateProvider p_i232020_1_, BlockStateProvider p_i232020_2_, FoliagePlacer p_i232020_3_, AbstractTrunkPlacer p_i232020_4_, AbstractFeatureSizeType p_i232020_5_, java.util.List<TreeDecorator> p_i232020_6_, int p_i232020_7_, boolean p_i232020_8_, Heightmap.Type p_i232020_9_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setFromSapling()
BaseTreeFeatureConfig
withDecorators(java.util.List<TreeDecorator> p_236685_1_)
-
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.IFeatureConfig
getFeatures
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<BaseTreeFeatureConfig> CODEC
-
trunkProvider
public final BlockStateProvider trunkProvider
-
leavesProvider
public final BlockStateProvider leavesProvider
-
decorators
public final java.util.List<TreeDecorator> decorators
-
fromSapling
public transient boolean fromSapling
-
foliagePlacer
public final FoliagePlacer foliagePlacer
-
trunkPlacer
public final AbstractTrunkPlacer trunkPlacer
-
minimumSize
public final AbstractFeatureSizeType minimumSize
-
maxWaterDepth
public final int maxWaterDepth
-
ignoreVines
public final boolean ignoreVines
-
heightmap
public final Heightmap.Type heightmap
-
-
Constructor Detail
-
BaseTreeFeatureConfig
protected BaseTreeFeatureConfig(BlockStateProvider p_i232020_1_, BlockStateProvider p_i232020_2_, FoliagePlacer p_i232020_3_, AbstractTrunkPlacer p_i232020_4_, AbstractFeatureSizeType p_i232020_5_, java.util.List<TreeDecorator> p_i232020_6_, int p_i232020_7_, boolean p_i232020_8_, Heightmap.Type p_i232020_9_)
-
-
Method Detail
-
setFromSapling
public void setFromSapling()
-
withDecorators
public BaseTreeFeatureConfig withDecorators(java.util.List<TreeDecorator> p_236685_1_)
-
-