Interface CarverConfiguration

All Superinterfaces:
FeatureConfiguration, Wrapper
All Known Implementing Classes:
CanyonCarverConfiguration, CaveCarverConfiguration

@NullMarked @AsOf("2.3.0") public sealed interface CarverConfiguration extends Wrapper, FeatureConfiguration permits CanyonCarverConfiguration, CaveCarverConfiguration
Wraps Minecraft's CarverConfiguration class.
Since:
2.3.0
  • Method Details

    • probability

      @AsOf("2.3.0") float probability()
      Returns:
      the probability of this carver being generated
      Since:
      2.3.0
    • y

      @AsOf("2.3.0") HeightProvider y()
      Returns:
      the y-level of the carver
      Since:
      2.3.0
    • yScale

      @AsOf("2.3.0") FloatProvider yScale()
      Returns:
      the y-scale of the carver
      Since:
      2.3.0
    • lavaLevel

      @AsOf("2.3.0") VerticalAnchor lavaLevel()
      Returns:
      the y-level of the lava level of the carver
      Since:
      2.3.0
    • debugSettings

      @AsOf("2.3.0") CarverDebugSettings debugSettings()
      Returns:
      the debug settings of the carver
      Since:
      2.3.0
    • replaceable

      @AsOf("2.3.0") Collection<Material> replaceable()
      Returns:
      the materials that can be replaced by this carver
      Since:
      2.3.0