Package net.minecraft.world.gen.feature
Class ThreeLayerFeature
- java.lang.Object
-
- net.minecraft.world.gen.feature.AbstractFeatureSizeType
-
- net.minecraft.world.gen.feature.ThreeLayerFeature
-
public class ThreeLayerFeature extends AbstractFeatureSizeType
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<ThreeLayerFeature>
CODEC
private int
limit
private int
lowerSize
private int
middleSize
private int
upperLimit
private int
upperSize
-
Fields inherited from class net.minecraft.world.gen.feature.AbstractFeatureSizeType
minClippedHeight
-
-
Constructor Summary
Constructors Constructor Description ThreeLayerFeature(int p_i232024_1_, int p_i232024_2_, int p_i232024_3_, int p_i232024_4_, int p_i232024_5_, java.util.OptionalInt p_i232024_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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 Detail
-
CODEC
public static final com.mojang.serialization.Codec<ThreeLayerFeature> 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
-
-
Method Detail
-
type
protected FeatureSizeType<?> type()
- Specified by:
type
in classAbstractFeatureSizeType
-
getSizeAtHeight
public int getSizeAtHeight(int p_230369_1_, int p_230369_2_)
- Specified by:
getSizeAtHeight
in classAbstractFeatureSizeType
-
-