Package net.minecraft.world.gen.feature
Class TwoLayerFeature
java.lang.Object
net.minecraft.world.gen.feature.AbstractFeatureSizeType
net.minecraft.world.gen.feature.TwoLayerFeature
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TwoLayerFeature>private final intprivate final intprivate final intFields inherited from class net.minecraft.world.gen.feature.AbstractFeatureSizeType
minClippedHeight -
Constructor Summary
ConstructorsConstructorDescriptionTwoLayerFeature(int p_i232025_1_, int p_i232025_2_, int p_i232025_3_) TwoLayerFeature(int p_i232026_1_, int p_i232026_2_, int p_i232026_3_, OptionalInt p_i232026_4_) -
Method Summary
Modifier and TypeMethodDescriptionintgetSizeAtHeight(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 -
lowerSize
private final int lowerSize -
upperSize
private final int upperSize
-
-
Constructor Details
-
TwoLayerFeature
public TwoLayerFeature(int p_i232025_1_, int p_i232025_2_, int p_i232025_3_) -
TwoLayerFeature
public TwoLayerFeature(int p_i232026_1_, int p_i232026_2_, int p_i232026_3_, OptionalInt p_i232026_4_)
-
-
Method Details
-
type
- Specified by:
typein classAbstractFeatureSizeType
-
getSizeAtHeight
public int getSizeAtHeight(int p_230369_1_, int p_230369_2_) - Specified by:
getSizeAtHeightin classAbstractFeatureSizeType
-