net.minecraft.world.gen.feature.size

public class TwoLayersFeatureSize

extends FeatureSize

net.minecraft.world.level.levelgen.feature.featuresize.TwoLayersFeatureSize
net.minecraft.class_5204
net.minecraft.world.gen.feature.size.TwoLayersFeatureSize

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TwoLayersFeatureSize>
CODEC
field_24925
CODEC
private final int
limit
field_24155
limit
private final int
lowerSize
field_24156
lowerSize
private final int
upperSize
field_24157
upperSize

Constructor summary

ModifierConstructor
public (int limit, int lowerSize, int upperSize)
public (int limit, int lowerSize, int upperSize, OptionalInt minClippedHeight)

Method summary

Modifier and TypeMethod
protected FeatureSizeType<?>
type()
method_28824()
getType()
public int
getSizeAtHeight(int treeHeight, int yo)
method_27378(int arg0, int arg1)
getRadius(int arg0, int arg1)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_28833(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_28833(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static Integer
lambda$static$3(TwoLayersFeatureSize arg0)
method_28832(class_5204 arg0)
method_28832(TwoLayersFeatureSize size)
private static Integer
lambda$static$2(TwoLayersFeatureSize arg0)
method_28834(class_5204 arg0)
method_28834(TwoLayersFeatureSize size)
private static Integer
lambda$static$1(TwoLayersFeatureSize arg0)
method_28835(class_5204 arg0)
method_28835(TwoLayersFeatureSize size)