Interface CarverConfiguration

All Superinterfaces:
Wrapper
All Known Subinterfaces:
CanyonWorldCarver, CaveWorldCarver

@NullMarked @AsOf("4.0.0") public interface CarverConfiguration extends Wrapper
Common settings shared by Minecraft's direct world carver implementations.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    The probability that this carver starts in an eligible chunk.
    y()
    The height provider used to select the carver's starting y-coordinate.

    Methods inherited from interface Wrapper

    asHandle, toMinecraft, unwrap
  • Method Details

    • probability

      @AsOf("4.0.0") float probability()
      The probability that this carver starts in an eligible chunk.
      Returns:
      the carver start probability
      Since:
      4.0.0
    • y

      @AsOf("4.0.0") HeightProvider y()
      The height provider used to select the carver's starting y-coordinate.
      Returns:
      the starting height provider
      Since:
      4.0.0