From 125fef9ab7c05bebb11e577102ac0568a64d8733 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 22 Jun 2024 18:46:39 +1000 Subject: [PATCH] SPIGOT-7732, SPIGOT-7786: Add freezing damage modifier By: LoliColleen <76620594+LoliColleen@users.noreply.github.com> --- .../main/java/org/bukkit/event/entity/EntityDamageEvent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java index ca63414793..ef5b2a0f18 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java @@ -247,6 +247,10 @@ public class EntityDamageEvent extends EntityEvent implements Cancellable { * raw {@link EntityDamageEvent#getDamage()}. */ BASE, + /** + * This represents the damage increased by freezing status. + */ + FREEZING, /** * This represents the damage reduced by a wearing a helmet when hit * by a falling block.