Commits

Doc authored and md_5 committed 02161cb4b42
#1034: Add CreatureSpawnEvent.SpawnReason#TRIAL_SPAWNER
No tags

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

Modified
56 56 * already existing. Consider using {@link ChunkLoadEvent},
57 57 * {@link ChunkLoadEvent#isNewChunk()} and {@link Chunk#getEntities()}
58 58 * for similar effect.
59 59 */
60 60 @Deprecated
61 61 CHUNK_GEN,
62 62 /**
63 63 * When a creature spawns from a spawner
64 64 */
65 65 SPAWNER,
66 + /**
67 + * When a creature spawns from a trial spawner
68 + */
69 + TRIAL_SPAWNER,
66 70 /**
67 71 * When a creature spawns from an egg
68 72 */
69 73 EGG,
70 74 /**
71 75 * When a creature spawns from a Spawner Egg
72 76 */
73 77 SPAWNER_EGG,
74 78 /**
75 79 * When a creature spawns because of a lightning strike

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

Add shortcut