Changes
Page history
updated modifiers based on the javadoc
authored
Sep 23, 2024
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Mobs/DamageModifiers.md
View page @
291b084d
...
@@ -17,35 +17,42 @@ See the [spigot javadocs](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ev
...
@@ -17,35 +17,42 @@ See the [spigot javadocs](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ev
| Modifier | Explanation |
| Modifier | Explanation |
| ------------------- | ------------------------------------------------------------------ |
| ------------------- | ------------------------------------------------------------------ |
| BLOCK_EXPLOSION | Damage caused by being in the area when a block explodes. |
| BLOCK_EXPLOSION | Damage caused by being in the area when a block explodes. |
| CAMPFIRE | Damage caused when an entity steps on
`CAMPFIRE`
or
`SOUL_CAMPFIRE`
. |
| CONTACT | Damage caused when an entity contacts a block such as a Cactus, Dripstone (Stalagmite) or Berry Bush. |
| CONTACT | Damage caused when an entity contacts a block such as a Cactus, Dripstone (Stalagmite) or Berry Bush. |
| CRAMMING | Damage caused when an entity is colliding with too many entities due to the maxEntityCramming game rule. |
| CRAMMING | Damage caused when an entity is colliding with too many entities due to the maxEntityCramming game rule. |
| CUSTOM |
Damage caused by “Custom”, sometimes used by other plugins.
|
| CUSTOM |
Custom damage.
|
| DRAGON_BREATH | Damage caused by a dragon breathing fire. |
| DRAGON_BREATH | Damage caused by a dragon breathing fire. |
| DROWNING | Damage caused by running out of air while in water |
| DROWNING | Damage caused by running out of air while in water |
| DRYOUT | Damage caused when an entity that should be in water is not. |
| DRYOUT | Damage caused when an entity that should be in water is not. |
| ENTITY_ATTACK | Damage caused when an entity attacks another entity. |
| ENTITY_ATTACK | Damage caused when an entity attacks another entity. |
| ENTITY_EXPLOSION | Damage caused by being in the area when an entity, such as a Creeper, explodes. |
| ENTITY_EXPLOSION | Damage caused by being in the area when an entity, such as a Creeper, explodes. |
| ENTITY_SWEEP_ATTACK | Damage caused when an entity attacks another entity in a sweep attack. |
| ENTITY_SWEEP_ATTACK | Damage caused when an entity attacks another entity in a sweep attack. |
| FALL | Damage caused when an entity falls a distance greater than 3 blocks
.
|
| FALL | Damage caused when an entity falls a distance greater than 3 blocks |
| FALLING_BLOCK | Damage caused by being hit by a falling block which deals damage
.
|
| FALLING_BLOCK | Damage caused by being hit by a falling block which deals damage
|
| FIRE | Damage caused by direct exposure to fire |
| FIRE | Damage caused by direct exposure to fire |
| FIRE_TICK | Damage caused due to burns caused by fire |
| FIRE_TICK | Damage caused due to burns caused by fire |
| FLY_INTO_WALL | Damage caused when an entity runs into a wall
while flying.
|
| FLY_INTO_WALL | Damage caused when an entity runs into a wall
.
|
| FREEZE | Damage caused from freezing. |
| FREEZE | Damage caused from freezing. |
| HOT_FLOOR | Damage caused when an entity steps on Material.MAGMA_BLOCK. |
| HOT_FLOOR | Damage caused when an entity steps on
`MAGMA_BLOCK`
. |
| KILL | Damage caused by /kill command |
| LAVA | Damage caused by direct exposure to lava |
| LAVA | Damage caused by direct exposure to lava |
| LIGHTNING | Damage caused by being struck by lightning |
| LIGHTNING | Damage caused by being struck by lightning |
| MAGIC | Damage caused by being hit by a damage potion or spell |
| MAGIC | Damage caused by being hit by a damage potion or spell |
| MELTING | Damage caused due to a snowman melting |
| MELTING | Damage caused due to a snowman melting |
| POISON | Damage caused due to an ongoing poison effect |
| POISON | Damage caused due to an ongoing poison effect |
| PROJECTILE | Damage caused when attacked by a projectile. |
| PROJECTILE | Damage caused when attacked by a projectile. |
| SONIC_BOOM | Damage caused by the Sonic Boom attack from Warden
|
| SONIC_BOOM | Damage caused by the Sonic Boom attack from
`
Warden
`
|
| STARVATION | Damage caused by starving due to having an empty hunger bar |
| STARVATION | Damage caused by starving due to having an empty hunger bar |
| SUFFOCATION | Damage caused by being put in a block |
| SUFFOCATION | Damage caused by being put in a block |
| SUICIDE | Damage caused by committing suicide. |
| SUICIDE | Damage caused by committing suicide. |
| THORNS | Damage caused in retaliation to another attack by the Thorns enchantment. |
| THORNS | Damage caused in retaliation to another attack by the Thorns enchantment. |
| VOID | Damage caused by falling into the void |
| VOID | Damage caused by falling into the void |
| WITHER | Damage caused by Wither potion effect |
| WITHER | Damage caused by Wither potion effect |
| WORLD_BORDER | Damage caused by the World Border |
<!--
These Options are automatically generated via a script. Do not edit them directly.
-->
...
...
...
...