Class FeatureSize
java.lang.Object
net.minecraft.world.level.levelgen.feature.featuresize.FeatureSize
- Direct Known Subclasses:
 ThreeLayersFeatureSize,TwoLayersFeatureSize
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<FeatureSize>protected static final intprotected final OptionalInt - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract intgetSizeAtHeight(int p_68287_, int p_68288_) protected static <S extends FeatureSize>
com.mojang.serialization.codecs.RecordCodecBuilder<S,OptionalInt> protected abstract FeatureSizeType<?>type() 
- 
Field Details
- 
CODEC
 - 
MAX_WIDTH
protected static final int MAX_WIDTH- See Also:
 
 - 
minClippedHeight
 
 - 
 - 
Constructor Details
- 
FeatureSize
 
 - 
 - 
Method Details
- 
minClippedHeightCodec
protected static <S extends FeatureSize> com.mojang.serialization.codecs.RecordCodecBuilder<S,OptionalInt> minClippedHeightCodec() - 
type
 - 
getSizeAtHeight
public abstract int getSizeAtHeight(int p_68287_, int p_68288_)  - 
minClippedHeight
 
 -