net.minecraft.world.gen.feature.size

public abstract class FeatureSize

net.minecraft.world.level.levelgen.feature.featuresize.FeatureSize
net.minecraft.class_5201
net.minecraft.world.gen.feature.size.FeatureSize

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FeatureSize>
CODEC
field_24922
TYPE_CODEC
protected static final int
MAX_WIDTH
field_31522
field_31522
protected final OptionalInt
minClippedHeight
field_24146
minClippedHeight

Constructor summary

ModifierConstructor
public (OptionalInt minClippedHeight)

Method summary

Modifier and TypeMethod
protected static <S extends FeatureSize> com.mojang.serialization.codecs.RecordCodecBuilder<S, OptionalInt>
minClippedHeightCodec()
method_28820()
createCodec()
protected abstract FeatureSizeType<?>
type()
method_28824()
getType()
public abstract int
getSizeAtHeight(int treeHeight, int yo)
method_27378(int arg0, int arg1)
getRadius(int height, int y)
public OptionalInt
minClippedHeight()
method_27377()
getMinClippedHeight()
private static OptionalInt
lambda$minClippedHeightCodec$2(FeatureSize arg0)
method_28821(class_5201 arg0)
method_28821(FeatureSize size)
private static Optional
lambda$minClippedHeightCodec$1(OptionalInt arg0)
method_28823(OptionalInt arg0)
method_28823(OptionalInt minClippedHeight)
private static OptionalInt
lambda$minClippedHeightCodec$0(Optional arg0)
method_28822(Optional arg0)
method_28822(Optional minClippedHeight)