Add EntityDamageEvent.DamageCause#CAMPFIRE

By: Doc <nachito94@msn.com>
This commit is contained in:
Bukkit/Spigot 2024-06-13 12:21:46 -04:00
parent 5c69fd52f0
commit 2b6b2a9f20

View File

@ -463,6 +463,12 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable {
* Damage: 1
*/
HOT_FLOOR,
/**
* Damage caused when an entity steps on {@link Material#CAMPFIRE} or {@link Material#SOUL_CAMPFIRE}.
* <p>
* Damage: 1
*/
CAMPFIRE,
/**
* Damage caused when an entity is colliding with too many entities due
* to the maxEntityCramming game rule.