Class TwoLayersFeatureSize
java.lang.Object
net.minecraft.world.gen.feature.size.FeatureSize
net.minecraft.world.gen.feature.size.TwoLayersFeatureSize
public class TwoLayersFeatureSize extends FeatureSize
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<TwoLayersFeatureSize>CODECprivate intlimitprivate intlowerSizeprivate intupperSizeFields inherited from class net.minecraft.world.gen.feature.size.FeatureSize
minClippedHeight, TYPE_CODEC -
Constructor Summary
Constructors Constructor Description TwoLayersFeatureSize(int limit, int lowerSize, int upperSize)TwoLayersFeatureSize(int limit, int lowerSize, int upperSize, OptionalInt minClippedHeight) -
Method Summary
Modifier and Type Method Description protected FeatureSizeType<?>getType()intmethod_27378(int int2, int int3)Methods inherited from class net.minecraft.world.gen.feature.size.FeatureSize
createCodecBuilder, getMinClippedHeight
-
Field Details
-
CODEC
-
limit
private final int limit -
lowerSize
private final int lowerSize -
upperSize
private final int upperSize
-
-
Constructor Details
-
TwoLayersFeatureSize
public TwoLayersFeatureSize(int limit, int lowerSize, int upperSize) -
TwoLayersFeatureSize
-
-
Method Details
-
getType
- Specified by:
getTypein classFeatureSize
-
method_27378
public int method_27378(int int2, int int3)- Specified by:
method_27378in classFeatureSize
-