Package net.minecraft.world.gen.feature
Class ThreeLayerFeature
java.lang.Object
net.minecraft.world.gen.feature.AbstractFeatureSizeType
net.minecraft.world.gen.feature.ThreeLayerFeature
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ThreeLayerFeature>
private final int
private final int
private final int
private final int
private final int
Fields inherited from class net.minecraft.world.gen.feature.AbstractFeatureSizeType
minClippedHeight
-
Constructor Summary
ConstructorDescriptionThreeLayerFeature
(int p_i232024_1_, int p_i232024_2_, int p_i232024_3_, int p_i232024_4_, int p_i232024_5_, OptionalInt p_i232024_6_) -
Method Summary
Modifier and TypeMethodDescriptionint
getSizeAtHeight
(int p_230369_1_, int p_230369_2_) protected FeatureSizeType<?>
type()
Methods inherited from class net.minecraft.world.gen.feature.AbstractFeatureSizeType
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
-
ThreeLayerFeature
public ThreeLayerFeature(int p_i232024_1_, int p_i232024_2_, int p_i232024_3_, int p_i232024_4_, int p_i232024_5_, OptionalInt p_i232024_6_)
-
-
Method Details
-
type
- Specified by:
type
in classAbstractFeatureSizeType
-
getSizeAtHeight
public int getSizeAtHeight(int p_230369_1_, int p_230369_2_) - Specified by:
getSizeAtHeight
in classAbstractFeatureSizeType
-