From 3e7386bf29238842e7142aca20870ae2a71bc2d2 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 14 Nov 2018 14:16:42 +1100 Subject: [PATCH] Add SpawnReason.SHEARING By: klugemonkey --- .../main/java/org/bukkit/event/entity/CreatureSpawnEvent.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java b/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java index ed5da79ee6..a5d64408a8 100644 --- a/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -173,6 +173,10 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { * When a creature is spawned by another entity drowning */ DROWNED, + /** + * When an cow is spawned by shearing a mushroom cow + */ + SHEARED, /** * When a creature is spawned by plugins */