Commits

LoliColleen authored and md_5 committed 1ff76351600
SPIGOT-7732, SPIGOT-7786: Add freezing damage modifier
No tags

src/main/java/org/bukkit/event/entity/EntityDamageEvent.java

Modified
240 240 * removed very soon in a subsequent release. Please see
241 241 * <a href="https://www.spigotmc.org/threads/194446/">this thread</a> for more information.
242 242 */
243 243 @Deprecated
244 244 public enum DamageModifier {
245 245 /**
246 246 * This represents the amount of damage being done, also known as the
247 247 * raw {@link EntityDamageEvent#getDamage()}.
248 248 */
249 249 BASE,
250 + /**
251 + * This represents the damage increased by freezing status.
252 + */
253 + FREEZING,
250 254 /**
251 255 * This represents the damage reduced by a wearing a helmet when hit
252 256 * by a falling block.
253 257 */
254 258 HARD_HAT,
255 259 /**
256 260 * This represents the damage reduction caused by blocking, only present for
257 261 * {@link Player Players}.
258 262 */
259 263 BLOCKING,

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut