Commits

GJ authored and Travis Watkins committed 6bc36a917cc
[Bleeding] Add SpawnReasons to cover new Minecraft features.

Adds BUKKIT-5370, BUKKIT-5378, BUKKIT-5382, BUKKIT-5482. Covers zombie villagers, ocelot babies, silverfish popping out of blocks, and mobs spawning with a mount.
No tags

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

Modified
155 155 */
156 156 REINFORCEMENTS,
157 157 /**
158 158 * When a creature is spawned by nether portal
159 159 */
160 160 NETHER_PORTAL,
161 161 /**
162 162 * When a creature is spawned by a dispenser dispensing an egg
163 163 */
164 164 DISPENSE_EGG,
165 + /**
166 + * When a zombie infects a villager
167 + */
168 + INFECTION,
169 + /**
170 + * When a villager is cured from infection
171 + */
172 + CURED,
173 + /**
174 + * When an ocelot has a baby spawned along with them
175 + */
176 + OCELOT_BABY,
177 + /**
178 + * When a silverfish spawns from a block
179 + */
180 + SILVERFISH_BLOCK,
181 + /**
182 + * When an entity spawns as a mount of another entity (mostly chicken
183 + * jockeys)
184 + */
185 + MOUNT,
165 186 /**
166 187 * When a creature is spawned by plugins
167 188 */
168 189 CUSTOM,
169 190 /**
170 191 * When an entity is missing a SpawnReason
171 192 */
172 193 DEFAULT
173 194 }
174 195 }

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

Add shortcut