Posted April 27, 20178 yr I'm looking for an Event that fires whenever an Entity spawns newly in the world, meaning not when the players enters its loading distance or the world is loaded, only when it spawns fresh. Does such an Event exist? Edited April 27, 20178 yr by Tschipp
April 27, 20178 yr LivingSpawnEvent.SpecialSpawn is fired just before an entity is spawned by WorldEntitySpawner (passive spawns) or MobSpawnerBaseLogic (monster spawners). Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
April 28, 20178 yr Author On 27.4.2017 at 6:27 PM, Choonster said: LivingSpawnEvent.SpecialSpawn is fired just before an entity is spawned by WorldEntitySpawner (passive spawns) or MobSpawnerBaseLogic (monster spawners). I see, but does that mean that hostile mob spawns are not included?
April 28, 20178 yr Author Thanks, that seemed to do it, it doesn't fire for spawneggs though. Is there an other event for that?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.