diff options
author | EvilSeph <evilseph@gmail.com> | 2012-02-10 00:48:19 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-10 07:17:03 -0500 |
commit | 5c7edcf4393ba0acdeb295f169e362fb1f7b2652 (patch) | |
tree | a64edff1e7161a6175b45edc909cb575cb55fa0c /src/main | |
parent | 7df6a7e864f6c0f4478f3bce5e5ba710870fce8c (diff) | |
download | bukkit-5c7edcf4393ba0acdeb295f169e362fb1f7b2652.tar bukkit-5c7edcf4393ba0acdeb295f169e362fb1f7b2652.tar.gz bukkit-5c7edcf4393ba0acdeb295f169e362fb1f7b2652.tar.lz bukkit-5c7edcf4393ba0acdeb295f169e362fb1f7b2652.tar.xz bukkit-5c7edcf4393ba0acdeb295f169e362fb1f7b2652.zip |
Added JOCKEY and CHUNK_GEN SpawnReasons.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java index 6463e21e..03f719a6 100644 --- a/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java +++ b/src/main/java/org/bukkit/event/entity/CreatureSpawnEvent.java @@ -81,6 +81,14 @@ public class CreatureSpawnEvent extends EntityEvent implements Cancellable { */ NATURAL, /** + * When an entity spawns as a jockey of another entity (mostly spider jockeys) + */ + JOCKEY, + /** + * When a creature spawns due to chunk generation + */ + CHUNK_GEN, + /** * When a creature spawns from a spawner */ SPAWNER, |