Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Config Conditions

Corgi Taco edited this page Dec 28, 2021 · 31 revisions

This page will cover the available conditions that come shipped with Mobifier by default

Attribute Condition

  • The attribute condition lets you check a mob's current attributes such as HP or attack damage with a double comparator.
  • This requires all listed checks to pass.
  "conditions_to_apply": [
    {
      "attribute_is": {
        "minecraft:generic.max_health": ">=5"
      },
      "type": "mobifier:attribute"
    }
  ]

Biome Category Condition

  • This condition checks whether or not a the biome a mob is in is within the given biome category. The following biome categories are acceptable arguments: none, taiga, extreme_hills, jungle, mesa, plains, savanna, icy, the_end, beach, forest, ocean, desert, river, swamp, mushroom, nether, underground (1.17+).
  • Requires the mob to be in one of these biome categories to pass.
  "conditions_to_apply": [
    {
      "biome_category_is": [
        "icy"
      ],
      "type": "mobifier:biome_category"
    }
  ]

Clone this wiki locally