Dragon Ability - DragonSurvivalTeam/DragonSurvival GitHub Wiki
A dragon ability defines the characteristics of a single ability. This includes its activation (how do you use it), the way it is upgraded, and the various game actions that occur when it is active.
Dragon abilities are part of the data pack directory structure, highlighted below:
datapack name.zip ├──
pack.mcmeta ├──
data ├──
namespace ├──
dragonsurvival ├──
dragon_abilities ├──
<name>.json
This object is used by the following objects:
This object references the following objects
- Activation
- Upgrade Type
- Predicate (mod specific predicates here)
- Action Container
- Level Based Resource
{
"activation": [Activation], // [Mandatory] || How the ability is activated.
"upgrade": [UpgradeType], // [Optional] || The way this ability is upgraded. If empty, it is always at level 1.
"usage_blocked": [Predicate], // [Optional] || The conditions under which the ability does not activate.
"actions": [ActionContainer], // [Optional] || The actions that this ability does.
"can_be_manually_disabled": [boolean], // [Optional] || Determines whether the ability can be disabled in the species screen ('true' by default)
"icon": [LevelBasedResource], // [Mandatory] || A list of icons for the ability per level.
}