Class ThreeLayersFeatureSize
java.lang.Object
net.minecraft.world.level.levelgen.feature.featuresize.FeatureSize
net.minecraft.world.level.levelgen.feature.featuresize.ThreeLayersFeatureSize
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ThreeLayersFeatureSize>
private final int
private final int
private final int
private final int
private final int
Fields inherited from class net.minecraft.world.level.levelgen.feature.featuresize.FeatureSize
MAX_WIDTH, minClippedHeight
-
Constructor Summary
ConstructorDescriptionThreeLayersFeatureSize
(int p_68314_, int p_68315_, int p_68316_, int p_68317_, int p_68318_, OptionalInt p_68319_) -
Method Summary
Modifier and TypeMethodDescriptionint
getSizeAtHeight
(int p_68321_, int p_68322_) protected FeatureSizeType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.featuresize.FeatureSize
minClippedHeight, minClippedHeightCodec
-
Field Details
-
CODEC
-
limit
private final int limit -
upperLimit
private final int upperLimit -
lowerSize
private final int lowerSize -
middleSize
private final int middleSize -
upperSize
private final int upperSize
-
-
Constructor Details
-
ThreeLayersFeatureSize
public ThreeLayersFeatureSize(int p_68314_, int p_68315_, int p_68316_, int p_68317_, int p_68318_, OptionalInt p_68319_)
-
-
Method Details
-
type
- Specified by:
type
in classFeatureSize
-
getSizeAtHeight
public int getSizeAtHeight(int p_68321_, int p_68322_) - Specified by:
getSizeAtHeight
in classFeatureSize
-