forked from BlackAures1/DragonSurvival
-
Notifications
You must be signed in to change notification settings - Fork 42
DragonPenalty
seelderr edited this page Jan 4, 2025
·
3 revisions
A dragon penalty is a debuff for being a certain dragon species. This incldues things like vulnerability to water, fear of darkness, needing to drink water to survive, etc...
Dragon penalties are part of the data pack directory structure, highlighted below:
datapack name.zip ├──
pack.mcmeta ├──
data ├──
namespace ├──
dragonsurvival ├──
dragon_penalties ├──
<name>.json
This object is used by the following objects:
This object references the following objects:
- PenaltyEffect
- PenaltyTrigger
- Predicate (mod specific predicates here)
{
"icon": [ResourceLocation] // [Mandatory] || The icon to use for this penalty.
"condition": [Predicate] // [Mandatory] || The conditions under which this penalty triggers.
"effect": [PenaltyEffect] // [Mandatory] || The effects from this penalty.
"trigger": [PenaltyTrigger] // [Mandatory] || The ways this penalty triggers.
}
■ Still have questions about Dragon Survival? Ask them in the Discord Server! I always try to help everyone as much as I can.
Datapack Documentation
- Dragon Species
- Projectile
- General Data Formats
- Installation
- "Mod doesn't work!"
- Incompatibility
- Configuration
- Update
- Moving appearance between saves
- Linux compatibility
- How do I use Curseforge?
- Installing the modpack
- Optimizing