Commits

Nathan (antiPerson) authored and md_5 committed 1c537fce41b
#590: Add spawn and transform reasons for piglin zombification.
No tags

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

Modified
166 166 */
167 167 RAID,
168 168 /**
169 169 * When an entity is spawned as part of a patrol
170 170 */
171 171 PATROL,
172 172 /**
173 173 * When a bee is released from a beehive/bee nest
174 174 */
175 175 BEEHIVE,
176 + /**
177 + * When a piglin is converted to a zombified piglib.
178 + */
179 + PIGLIN_ZOMBIFIED,
176 180 /**
177 181 * When a creature is spawned by plugins
178 182 */
179 183 CUSTOM,
180 184 /**
181 185 * When an entity is missing a SpawnReason
182 186 */
183 187 DEFAULT
184 188 }
185 189 }

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

Add shortcut