Interface CaveCarverConfiguration

All Superinterfaces:
CarverConfiguration, FeatureConfiguration, ProbabilityFeatureConfiguration, Wrapper

@NullMarked @AsOf("2.3.0") public interface CaveCarverConfiguration extends CarverConfiguration
Configuration for cave carvers.
Since:
2.3.0
See Also:
  • Method Details

    • horizontalRadiusMultiplier

      @AsOf("2.3.0") FloatProvider horizontalRadiusMultiplier()
      The horizontal radius multiplier.
      Returns:
      the horizontal radius multiplier
      Since:
      2.3.0
    • verticalRadiusMultiplier

      @AsOf("2.3.0") FloatProvider verticalRadiusMultiplier()
      The vertical radius multiplier.
      Returns:
      the vertical radius multiplier
      Since:
      2.3.0
    • floorLevel

      @AsOf("2.3.0") FloatProvider floorLevel()
      The floor level of the cave.
      Returns:
      the floor level of the cave
      Since:
      2.3.0
    • toBuilder

      @AsOf("3.0.0") default CaveCarverConfiguration.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static CaveCarverConfiguration of(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel)
      Creates a new CaveCarverConfiguration.
      Parameters:
      probability - the probability of the carver spawning
      y - the height provider
      yScale - the scale of the height provider
      lavaLevel - the y-level of the lava level of the carver
      debugSettings - the debug settings of the carver
      replaceable - the materials that can be replaced by this carver
      horizontalRadiusMultiplier - the horizontal radius multiplier
      verticalRadiusMultiplier - the vertical radius multiplier
      floorLevel - the floor level of the cave
      Returns:
      a new CaveCarverConfiguration
      Since:
      3.0.0
    • builder

      @AsOf("2.3.0") static CaveCarverConfiguration.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      2.3.0