Skip to content

Introduce Biome Predicates #45

@PersonTheCat

Description

@PersonTheCat

Currently, biomes conditions are configured by name and category only. In a future update, I would prefer a much more sophisticated approach. Since 1.16.2, there are fewer biome categories available and some kind of more specific predicate type is necessary now.

Here's an example of how the new syntax would look:

"biomes": {
  "predicate": {
    "climate": {
      "temperature": [ 0.25, 0.75 ]
    },
    "depth": [ 0.75, 1.0 ]
  }
}

Notice that this essentially matches the regular JSON syntax for declaring biomes in data packs, except the values are ranges and or enums.

Priority: low-medium

Affected Areas:

  • ConditionSettings
  • HjsonUtils (CatLib)
  • /cave debug (to display actual info)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions