Class RootSystemConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.RootSystemConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BlockPredicate
final int
static final com.mojang.serialization.Codec
<RootSystemConfiguration> final int
final int
final BlockStateProvider
final int
final int
final int
final int
final int
final BlockStateProvider
final Holder
<PlacedFeature> Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ConstructorsConstructorDescriptionRootSystemConfiguration
(Holder<PlacedFeature> pTreeFeature, int pRequiredVerticalSpaceForTree, int pRootRadius, TagKey<Block> pRootReplaceable, BlockStateProvider pRootStateProvider, int pRootPlacementAttempts, int pRootColumnMaxHeight, int pHangingRootRadius, int pHangingRootsVerticalSpawn, BlockStateProvider pHangingRootStateProvider, int pHangingRootPlacementAttempts, int pAllowedVerticalWaterForTree, BlockPredicate pAllowedTreePosition) -
Method Summary
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.level.levelgen.feature.configurations.FeatureConfiguration
getFeatures
-
Field Details
-
CODEC
-
treeFeature
-
requiredVerticalSpaceForTree
public final int requiredVerticalSpaceForTree -
rootRadius
public final int rootRadius -
rootReplaceable
-
rootStateProvider
-
rootPlacementAttempts
public final int rootPlacementAttempts -
rootColumnMaxHeight
public final int rootColumnMaxHeight -
hangingRootRadius
public final int hangingRootRadius -
hangingRootsVerticalSpan
public final int hangingRootsVerticalSpan -
hangingRootStateProvider
-
hangingRootPlacementAttempts
public final int hangingRootPlacementAttempts -
allowedVerticalWaterForTree
public final int allowedVerticalWaterForTree -
allowedTreePosition
-
-
Constructor Details
-
RootSystemConfiguration
public RootSystemConfiguration(Holder<PlacedFeature> pTreeFeature, int pRequiredVerticalSpaceForTree, int pRootRadius, TagKey<Block> pRootReplaceable, BlockStateProvider pRootStateProvider, int pRootPlacementAttempts, int pRootColumnMaxHeight, int pHangingRootRadius, int pHangingRootsVerticalSpawn, BlockStateProvider pHangingRootStateProvider, int pHangingRootPlacementAttempts, int pAllowedVerticalWaterForTree, BlockPredicate pAllowedTreePosition)
-