Skip to main content

Dragon Ability Type JSON

The dragon_mounts:dragon_ability_type registry does not load standalone data-pack files. Ability objects are placed in a purebred dragon's abilities array and dispatched by their required type field.

Basic Format

{
"type": "dragon_mounts:frost_walker",
"level": 2
}

All built-in abilities use the dragon_mounts namespace. An ability with no additional parameters only needs its type field.

Built-in Abilities

typeParametersDefaultsSummary
fire_proofrange (integer), duration (integer)10, 40Gives fire resistance to the nearby owner.
hot_feetfootprint_chance (float)0.05Leaves fiery footprints while moving.
ember_aurarange (float), fire_ticks (integer)10.0, 4Sets nearby hostile mobs on fire.
infernal_pactprotect_dragon, protect_rider (boolean)both truePrevents relevant hostile mobs, such as blazes, from targeting the dragon or rider.
frost_walkerlevel (integer)1Applies the Frost Walker effect to the dragon.
frost_aurarange (float), duration, amplifier (integer)10.0, 100, 1Applies Slowness to nearby hostile mobs.
nature_blessingrange, duration (integer)10, 40Gives Regeneration to the nearby owner.
camouflagerange (float)5.0Hides the dragon and rider from distant target selection.
aquatic_graceduration, range (integer)400, 0Gives Night Vision to the owner while the dragon is in water.
swift_swimrange, duration, amplifier (integer)2, 40, 1Gives Dolphin's Grace to the dragon and owner in water.
floral_trailfootprint_chance (float), grass_light_threshold (integer)0.05, 4Grows grass, flowers, and mushrooms while moving.
ender_cloakrange (float)32.0Prevents nearby owners or riders from angering endermen.
void_walkerrange (float)5.0Prevents fall damage for nearby owners.
gem_guarddeflect_chance (float)0.25Has a chance to deflect projectiles.
crystal_harmonyprotection_chance (float)0.1Has a chance to prevent damage to the dragon or rider.
echo_senserange (float), duration (integer)20.0, 80Makes nearby hostile mobs glow.
ethereal_harmonyprotect_dragon, protect_rider (boolean)both truePrevents undead mobs from targeting the dragon or rider.
quick_flightflying_speed_bonus (float)0.0Adds to the flying speed attribute.

Example

{
"abilities": [
{
"type": "dragon_mounts:fire_proof",
"range": 16,
"duration": 100
},
{
"type": "dragon_mounts:quick_flight",
"flying_speed_bonus": 0.08
},
{
"type": "dragon_mounts:ender_cloak"
}
]
}
tip

Every parameter is optional. Supplying only type uses the Codec defaults listed above.