Interface LevelBiomeEdit

All Known Implementing Classes:
LevelBiomeEdit.Add, LevelBiomeEdit.Replace

@AsOf("2.3.0") public sealed interface LevelBiomeEdit permits LevelBiomeEdit.Add, LevelBiomeEdit.Replace
Represents an edit to a dimension's biome distribution, either adding a biome at a climate point or replacing one biome with another.
Since:
2.3.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Adds a biome to a dimension.
    static final record 
    Replaces a biome in a dimension.
  • Method Summary

    Modifier and Type
    Method
    Description
    The key of the dimension to edit.
  • Method Details

    • dimension

      @AsOf("2.3.0") ResourceKey dimension()
      The key of the dimension to edit.
      Returns:
      the dimension key.
      Since:
      2.3.0