Class AbstractFeatureSizeType

java.lang.Object
net.minecraft.world.gen.feature.AbstractFeatureSizeType
Direct Known Subclasses:
ThreeLayerFeature, TwoLayerFeature

public abstract class AbstractFeatureSizeType extends Object
  • Field Details

  • Constructor Details

    • AbstractFeatureSizeType

      public AbstractFeatureSizeType(OptionalInt p_i232022_1_)
  • Method Details

    • minClippedHeightCodec

      protected static <S extends AbstractFeatureSizeType> com.mojang.serialization.codecs.RecordCodecBuilder<S,OptionalInt> minClippedHeightCodec()
    • type

      protected abstract FeatureSizeType<?> type()
    • getSizeAtHeight

      public abstract int getSizeAtHeight(int p_230369_1_, int p_230369_2_)
    • minClippedHeight

      public OptionalInt minClippedHeight()