net.minecraft.world.gen.feature

public record RootSystemFeatureConfig

implements FeatureConfig

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

Field summary

Modifier and TypeField
private final RegistryEntry<PlacedFeature>
treeFeature
comp_1_609
feature
private final int
requiredVerticalSpaceForTree
comp_1_603
requiredVerticalSpaceForTree
private final int
levelTestDistance
comp_1_799
levelTestDistance
private final int
maxLevelDeviation
comp_1_800
maxLevelDeviation
private final int
rootRadius
comp_1_606
rootRadius
private final RegistryEntryList<Block>
rootReplaceable
comp_1_607
rootReplaceable
private final BlockStateProvider
rootStateProvider
comp_1_608
rootStateProvider
private final int
rootPlacementAttempts
comp_1_605
rootPlacementAttempts
private final int
rootColumnMaxHeight
comp_1_604
maxRootColumnHeight
private final int
hangingRootRadius
comp_1_600
hangingRootRadius
private final int
hangingRootsVerticalSpan
comp_1_602
hangingRootVerticalSpan
private final BlockStateProvider
hangingRootStateProvider
comp_1_601
hangingRootStateProvider
private final int
hangingRootPlacementAttempts
comp_1_599
hangingRootPlacementAttempts
private final int
allowedVerticalWaterForTree
comp_1_598
allowedVerticalWaterForTree
private final BlockPredicate
allowedTreePosition
comp_1_597
predicate
public static final com.mojang.serialization.Codec<RootSystemFeatureConfig>
CODEC
field_29267
CODEC

Constructor summary

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

Method summary

Modifier and TypeMethod
public RegistryEntry<PlacedFeature>
treeFeature()
comp_1_609()
feature()
public int
requiredVerticalSpaceForTree()
comp_1_603()
requiredVerticalSpaceForTree()
public int
levelTestDistance()
comp_1_799()
levelTestDistance()
public int
maxLevelDeviation()
comp_1_800()
maxLevelDeviation()
public int
rootRadius()
comp_1_606()
rootRadius()
public RegistryEntryList<Block>
rootReplaceable()
comp_1_607()
rootReplaceable()
public BlockStateProvider
rootStateProvider()
comp_1_608()
rootStateProvider()
public int
rootPlacementAttempts()
comp_1_605()
rootPlacementAttempts()
public int
rootColumnMaxHeight()
comp_1_604()
maxRootColumnHeight()
public int
hangingRootRadius()
comp_1_600()
hangingRootRadius()
public int
hangingRootsVerticalSpan()
comp_1_602()
hangingRootVerticalSpan()
public BlockStateProvider
hangingRootStateProvider()
comp_1_601()
hangingRootStateProvider()
public int
hangingRootPlacementAttempts()
comp_1_599()
hangingRootPlacementAttempts()
public int
allowedVerticalWaterForTree()
comp_1_598()
allowedVerticalWaterForTree()
public BlockPredicate
allowedTreePosition()
comp_1_597()
predicate()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_34332(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_34332(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)