Dragon Mounts: Reforged
This section documents the data pack definitions used by Dragon Mounts: Reforged. All data is loaded through Minecraft Codecs, so field names, defaults, and object shapes match the current mod implementation.
Registries
| Registry | Data pack directory | Purpose |
|---|---|---|
dragon_mounts:purebred_dragon_breed | data/<namespace>/purebred_dragon_breed/ | Defines registered purebred dragons. |
dragon_mounts:dragon_breath_type | data/<namespace>/dragon_breath_type/ | Defines breath damage, colors, and status effects. |
dragon_mounts:dragon_ability_type | No standalone directory | Selects an inline ability through the type field in a breed's abilities array. |
dragon_mounts:habitat_type | No standalone directory | Selects an inline habitat condition through the type field in a breed's habitats array. |
The purebred dragon and breath-type registries are synchronized to clients automatically by NeoForge. Hybrid dragons are not data-pack registry entries: they are created at runtime from the registry Holders of two purebred dragons. Data packs should therefore define purebred dragons only.
Purebred Dragon Breed JSON
A purebred dragon definition provides a dragon's base values, taming and breeding items, abilities, habitats, and client resource locations.
Dragon Breath Type JSON
A dragon breath type defines the breath's color gradient, base damage, fire duration, particle density, and additional status effects.
Dragon Ability Type JSON
The dragonmounts:dragonability_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.
Habitat Type JSON
The dragonmounts:habitattype registry does not load standalone data-pack files. Habitat objects are placed in a purebred dragon's habitats array and dispatched by their required type field. Each entry calculates a score at the dragon's current position.