net.minecraft.world.gen.feature.size

public abstract class FeatureSize

net.minecraft.world.level.levelgen.feature.featuresize.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
CODEC
field_24922
TYPE_CODEC
protected static final int
MAX_WIDTH
MAX_WIDTH
field_31522
field_31522
protected final OptionalInt
minClippedHeight
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()
minClippedHeightCodec()
method_28820()
createCodec()
protected abstract FeatureSizeType<?>
type()
type()
method_28824()
getType()
public abstract int
getSizeAtHeight(int treeHeight, int yo)
getSizeAtHeight(int treeHeight, int yo)
method_27378(int arg0, int arg1)
getRadius(int height, int y)
public OptionalInt
minClippedHeight()
minClippedHeight()
method_27377()
getMinClippedHeight()