Interface BiomeGenerationSettings

All Superinterfaces:
Wrapper

@NullMarked @AsOf("2.3.0") public interface BiomeGenerationSettings extends Wrapper
Represents the generation settings of a biome, including its configured carvers and placed features.
Since:
2.3.0
See Also:
  • Method Details

    • carvers

      @AsOf("2.3.0") List<ConfiguredWorldCarver> carvers()
      The configured carvers applied to this biome's generation.
      Returns:
      an immutable list of carvers
      Since:
      2.3.0
    • features

      @AsOf("2.3.0") Map<Decoration, List<PlacedFeature>> features()
      The placed features applied to this biome's generation, grouped by step.
      Returns:
      an immutable map of the generation steps to placed features
      Since:
      2.3.0
    • toBuilder

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

      Creates a new biome generation settings.
      Parameters:
      carvers - the carvers of this biome's generation
      features - the features of this biome's generation
      Returns:
      a new biome generation settings
      Since:
      3.0.0
    • builder

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

      @AsOf("2.3.0") static BiomeGenerationSettings empty()
      An empty generation settings carrying no carvers or features.
      Returns:
      an empty BiomeGenerationSettings
      Since:
      2.3.0
    • decode

      @AsOf("3.3.0") static BiomeGenerationSettings decode(Object minecraftGenerationSettings)
      Reads Minecraft biome generation settings into a wrapper.
      Parameters:
      minecraftGenerationSettings - the generation settings to read
      Returns:
      the wrapper for them
      Since:
      3.3.0