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

Config Structure

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

Config structure

The structure of the config is as follows:

{
  "mobifier": { // A map of the entity type to its mobifications.
    "minecraft:husk": [ // Specify the entity and a list of mobifications. Mobifications are applied in the order put here.
     // Entities may have multiple mobifications.
      { // Mobification 1 Starts here and will run first.
        "dropDefaultTable": false, //If the conditions are met, drop the default loot table? (Only works on mob death)
        "xpMultiplier": "*2", // Modify the dropped xp(on death) if the conditions are met.
        "attributesMultipliers": { // Modify this mob's attributes if the conditions are met.
          "minecraft:generic.movement_speed": "*1",
          "minecraft:generic.attack_speed": "*1",
          "minecraft:generic.attack_damage": "*2",
          "minecraft:generic.armor": "*1",
          "minecraft:generic.knockback_resistance": "*1",
          "minecraft:horse.jump_strength": "*1",
          "minecraft:generic.max_health": "*1",
          "minecraft:generic.armor_toughness": "*1",
          "minecraft:generic.attack_knockback": "*1",
          "minecraft:generic.follow_range": "*1",
          "minecraft:generic.flying_speed": "*1",
          "minecraft:zombie.spawn_reinforcements": "*1",
          "minecraft:generic.luck": "*1"
        }
        "conditionsRequiredToPass": [ // Required condition(s) for mobification to function.
          { // Condition 1 starts here
            "isBiomeCategory": [
              "desert"
            ],
            "type": "mobifier:biome_category"
          }, // Condition 1 ends here
          { // Condition 2 starts here
            "dimension_is": [
              "minecraft:overworld"
            ],
            "type": "mobifier:dimension"
          } // Condition 2 ends here
        ]
      }
    ]
  }
}

Clone this wiki locally