EverlastingAbilities

EverlastingAbilities

4M Downloads

Datapack path for default abilities

met4000 opened this issue · 2 comments

commented

Issue type:

  • ❓ Question

Question:

#223 asks a similar question, and provides the answer that is currently on the wiki - it claims the default 'absorption' ability is located at <world-root>/datapacks/<datapack-name>/data/everlastingabilities/everlastingabilities/abilities/absorption.json (also see wiki/Ability-datapacks#registry). Testing in 1.19.2 with mod version 2.1.1, placing a json file at that location seems make a new ability, rather than overriding the current one. Looking at master-1.20/src/main/resources/data/everlastingabilities/everlastingabilities/abilities (1.19-lts is the same), the structure looks like it's .../abilities/effect/absorption.json rather than .../abilities/absorption.json - and making the file in the datapack at .../abilities/effect/absorption.json instead does seem to override the default absorption ability rather than making a second one. Likewise, special abilities appear to be at .../abilities/special/bonemealer.json.

Is this the intended path, and if so could the wiki be updated to use examples that use and distinguish between these two folder, e.g. everlastingabilities:effect/absorption is at <world-root>/datapacks/<datapack-name>/data/everlastingabilities/everlastingabilities/abilities/effect/absorption.json, and everlastingabilities:special/bonemealer is at <world-root>/datapacks/<datapack-name>/data/everlastingabilities/everlastingabilities/abilities/special/bonemealer.json?

Example datapacks with the file at these two locations:
abilities_root_absorption.zip (seems to create a new ability without modifying the default one)
abilities_effect_absorption.zip (seems to overwrite the default ability)

commented

Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our Discord server.

commented

Aha, those were the old locations indeed. Fixed! :-)