Class VegetationPatchConfiguration
java.lang.Object
net.minecraft.world.level.levelgen.feature.configurations.VegetationPatchConfiguration
- All Implemented Interfaces:
FeatureConfiguration
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<VegetationPatchConfiguration> final IntProvider
final float
final float
final BlockStateProvider
final CaveSurface
final float
final Holder
<PlacedFeature> final int
final IntProvider
Fields inherited from interface net.minecraft.world.level.levelgen.feature.configurations.FeatureConfiguration
NONE
-
Constructor Summary
ConstructorsConstructorDescriptionVegetationPatchConfiguration
(TagKey<Block> pReplaceable, BlockStateProvider pGroundState, Holder<PlacedFeature> pVegetationFeature, CaveSurface pSurface, IntProvider pDepth, float pExtraBottomBlockChance, int pVerticalRange, float pVegetationChance, IntProvider pXzRadius, float pExtraEdgeColumnChance) -
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
-
replaceable
-
groundState
-
vegetationFeature
-
surface
-
depth
-
extraBottomBlockChance
public final float extraBottomBlockChance -
verticalRange
public final int verticalRange -
vegetationChance
public final float vegetationChance -
xzRadius
-
extraEdgeColumnChance
public final float extraEdgeColumnChance
-
-
Constructor Details
-
VegetationPatchConfiguration
public VegetationPatchConfiguration(TagKey<Block> pReplaceable, BlockStateProvider pGroundState, Holder<PlacedFeature> pVegetationFeature, CaveSurface pSurface, IntProvider pDepth, float pExtraBottomBlockChance, int pVerticalRange, float pVegetationChance, IntProvider pXzRadius, float pExtraEdgeColumnChance)
-