Skip to content

Advancement Criteria

DaFuqs edited this page Dec 12, 2022 · 2 revisions

Starry Skies adds new advancement criteria - meaning requirements that you can specify in your advancement.json as "player must have done that to unlock this advancement".

You can find documentation about vanilla advancement predicates here: https://minecraft.gamepedia.com/wiki/Advancement/JSON_format

Spheroid Discovered: "spheroid_discovered"

Every few seconds Starry Skies runs a check if the player is close to one of Starry's spheres. The closest sphere is ran against this advancement criterion.

Properties

  • ids: A list of spheroid identifiers. If the player is close to any one of these the criterion returns true. If the list is empty it will return true if the player is close to any spheroid.

Example

"criteria": {
  "spheroid_discovered": {
    "trigger": "starry_skies:spheroid_discovered",
    "conditions": {
      "ids": [
        "starry_skies:nether/essential/crimson_nylium"
      ]
    }
  }
}