net.minecraft.world.gen.feature

public class RootSystemFeatureConfig

implements FeatureConfig

net.minecraft.world.level.levelgen.feature.configurations.RootSystemConfiguration
net.minecraft.world.level.levelgen.feature.configurations.RootSystemConfiguration
net.minecraft.class_5926
net.minecraft.world.gen.feature.RootSystemFeatureConfig

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RootSystemFeatureConfig>
CODEC
CODEC
field_29267
CODEC
public final RegistryEntry<PlacedFeature>
treeFeature
treeFeature
field_29268
feature
public final int
requiredVerticalSpaceForTree
requiredVerticalSpaceForTree
field_29269
requiredVerticalSpaceForTree
public final int
rootRadius
rootRadius
field_29270
rootRadius
public final TagKey<Block>
rootReplaceable
rootReplaceable
field_29271
rootReplaceable
public final BlockStateProvider
rootStateProvider
rootStateProvider
field_29272
rootStateProvider
public final int
rootPlacementAttempts
rootPlacementAttempts
field_29273
rootPlacementAttempts
public final int
rootColumnMaxHeight
rootColumnMaxHeight
field_29274
maxRootColumnHeight
public final int
hangingRootRadius
hangingRootRadius
field_29275
hangingRootRadius
public final int
hangingRootsVerticalSpan
hangingRootsVerticalSpan
field_29276
hangingRootVerticalSpan
public final BlockStateProvider
hangingRootStateProvider
hangingRootStateProvider
field_29277
hangingRootStateProvider
public final int
hangingRootPlacementAttempts
hangingRootPlacementAttempts
field_29278
hangingRootPlacementAttempts
public final int
allowedVerticalWaterForTree
allowedVerticalWaterForTree
field_33616
allowedVerticalWaterForTree
public final BlockPredicate
allowedTreePosition
allowedTreePosition
field_36289
predicate

Constructor summary

ModifierConstructor
public (RegistryEntry<PlacedFeature> feature, int requiredVerticalSpaceForTree, int rootRadius, TagKey<Block> rootReplaceable, BlockStateProvider rootStateProvider, int rootPlacementAttempts, int maxRootColumnHeight, int hangingRootRadius, int hangingRootVerticalSpan, BlockStateProvider hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate predicate)