mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-18 05:43:49 -07:00
SPIGOT-5559: Add EntityPotionEffectEvent causes for PATROL_CAPTAIN and WITHER_ROSE
By: ShaneBee <shanebolenback@me.com>
This commit is contained in:
@@ -213,6 +213,10 @@ public class EntityPotionEffectEvent extends EntityEvent implements Cancellable
|
|||||||
* When all effects are removed due to a bucket of milk.
|
* When all effects are removed due to a bucket of milk.
|
||||||
*/
|
*/
|
||||||
MILK,
|
MILK,
|
||||||
|
/**
|
||||||
|
* When a player gets bad omen after killing a patrol captain.
|
||||||
|
*/
|
||||||
|
PATROL_CAPTAIN,
|
||||||
/**
|
/**
|
||||||
* When a potion effect is modified through the plugin methods.
|
* When a potion effect is modified through the plugin methods.
|
||||||
*/
|
*/
|
||||||
@@ -244,6 +248,10 @@ public class EntityPotionEffectEvent extends EntityEvent implements Cancellable
|
|||||||
/**
|
/**
|
||||||
* When a villager gets regeneration after a trade.
|
* When a villager gets regeneration after a trade.
|
||||||
*/
|
*/
|
||||||
VILLAGER_TRADE
|
VILLAGER_TRADE,
|
||||||
|
/**
|
||||||
|
* When an entity comes in contact with a wither rose.
|
||||||
|
*/
|
||||||
|
WITHER_ROSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user