Damage Causes
Damage Causes
Section titled “Damage Causes”DaisyDamageCauses is the damage-cause entrypoint.
What it does
Section titled “What it does”- parses normalized damage-cause input
- keeps canonical lowercase underscore keys stable
- exposes friendly display names
- avoids alias sprawl for a technical value family
val cause = DaisyDamageCauses.parse("entity attack")val key = DaisyDamageCauses.key(cause)val label = DaisyDamageCauses.displayName(cause)Input examples
Section titled “Input examples”fire_tickfire tickentity_attackentity attackminecraft:entity_attack
Alias policy
Section titled “Alias policy”Damage causes use normalization only. DaisySeries does not add a broad shortcut map here because the canonical names are already the clearest config form.
DaisyConfig pairing
Section titled “DaisyConfig pairing”Use damageCauseCodec() when a managed or unmanaged YAML file should decode damage causes directly through DaisySeries.