Full netherite armor grants fire resistance

This commit is contained in:
William Blake Galbreath
2025-01-10 00:59:46 -08:00
committed by granny
parent 54eca0d36a
commit 8d2e08854c
5 changed files with 46 additions and 75 deletions

View File

@@ -0,0 +1,15 @@
--- a/src/main/java/org/bukkit/event/entity/EntityPotionEffectEvent.java
+++ b/src/main/java/org/bukkit/event/entity/EntityPotionEffectEvent.java
@@ -216,6 +_,12 @@
* When all effects are removed due to a bucket of milk.
*/
MILK,
+ // Purpur start
+ /**
+ * When a player wears full netherite armor
+ */
+ NETHERITE_ARMOR,
+ // Purpur end
/**
* When a player gets bad omen after killing a patrol captain.
*