public class TwoLayersFeatureSize extends FeatureSize
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<TwoLayersFeatureSize> |
CODEC |
private int |
limit |
private int |
lowerSize |
private int |
upperSize |
minClippedHeight, TYPE_CODEC
Constructor and Description |
---|
TwoLayersFeatureSize(int limit,
int lowerSize,
int upperSize) |
TwoLayersFeatureSize(int limit,
int lowerSize,
int upperSize,
OptionalInt minClippedHeight) |
Modifier and Type | Method and Description |
---|---|
protected FeatureSizeType<?> |
getType() |
int |
method_27378(int int2,
int int3) |
createCodecBuilder, getMinClippedHeight
public static final com.mojang.serialization.Codec<TwoLayersFeatureSize> CODEC
private final int limit
private final int lowerSize
private final int upperSize
public TwoLayersFeatureSize(int limit, int lowerSize, int upperSize)
public TwoLayersFeatureSize(int limit, int lowerSize, int upperSize, OptionalInt minClippedHeight)
protected FeatureSizeType<?> getType()
getType
in class FeatureSize
public int method_27378(int int2, int int3)
method_27378
in class FeatureSize