Registering Abilities

Transform into a mob!

As of Woodwalkers 4.6, you can register abilities per entity type yourself via datapacks!

data\<your_namespace>\walkers\abilities

In this folder, you can create a JSON-file. I recommend naming it like minecraft_wolf.json if you’re registering an Ability for the minecraft:wolf or explosion.json, if you’re registering e.g. the ExplosionAbility for multiple mobs.

{
  "entity_types": [
    "minecraft:wolf"
  ],
  "entity_tags": [
    "namespace:tag"
  ],
  "ability": {
    "type": "walkers:explosion"
  }
}
  • entity_types: A list of entity types, the specified ability should apply to.
  • entity_tags: A list of entity tags, where the ability should apply to.
  • ability: The ability that should be applied. The type specifies the exact ability. you might require additional parameters. Take a look at the Abilities for more details.

Note: You do not need to specify entity_types and entity_tags, one is enough.