sourceThe ResourceLocation for any registered MobEffect, including modded ones.
hasEntityIf the damage source is sourced from an entity, this should be marked as true. This allows for the death messages to be displayed correctly in the event the target entity dies.
strengthThe strength of the damage effect.
{
"auras": [
{
"aura": "DAMAGING",
"damageEffect": {
"source": "minecraft:in_fire"
}
}
]
}{
"auras": [
{
"aura": "DAMAGING",
"damageEffect": {
"source": "minecraft:thorns",
"hasEntity": true
}
}
]
}{
"auras": [
{
"aura": "DAMAGING",
"potionEffect": {
"effect": "minecraft:wither",
"strength": 5
}
}
]
}