Interface CanyonWorldCarver

All Superinterfaces:
CarverConfiguration, Wrapper

@NullMarked @AsOf("4.0.0") public interface CanyonWorldCarver extends CarverConfiguration
A direct Minecraft canyon world carver.
Since:
4.0.0
See Also:
  • Method Details

    • verticalRotation

      @AsOf("4.0.0") FloatProvider verticalRotation()
      The vertical rotation applied to the canyon.
      Returns:
      the canyon's vertical rotation
      Since:
      4.0.0
    • shape

      @AsOf("4.0.0") CanyonWorldCarver.Shape shape()
      The settings used to shape the canyon.
      Returns:
      the canyon shape
      Since:
      4.0.0
    • toBuilder

      @AsOf("4.0.0") default CanyonWorldCarver.Builder toBuilder()
      Converts this canyon carver back to a builder.
      Returns:
      a builder containing this carver's values
      Since:
      4.0.0
    • of

      @AsOf("4.0.0") static CanyonWorldCarver of(float probability, HeightProvider y, FloatProvider verticalRotation, CanyonWorldCarver.Shape shape)
      Creates a canyon world carver.
      Parameters:
      probability - the probability that the carver starts in an eligible chunk
      y - the provider used to select the starting y-coordinate
      verticalRotation - the vertical rotation applied to the canyon
      shape - the settings used to shape the canyon
      Returns:
      a new canyon world carver
      Since:
      4.0.0
    • builder

      @AsOf("4.0.0") static CanyonWorldCarver.Builder builder()
      Creates a new canyon world carver builder.
      Returns:
      a new builder
      Since:
      4.0.0