IPECTER Posted February 14, 2022 Posted February 14, 2022 Is there an event that will be called once when Mob spawn? Quote
IPECTER Posted February 14, 2022 Author Posted February 14, 2022 7 minutes ago, diesieben07 said: EntityJoinWorldEvent is fired when a new entity is added to the world. As far as I know, it's going to happen to mobs that already exist. ex) when player rejoin world Quote
IPECTER Posted February 14, 2022 Author Posted February 14, 2022 3 minutes ago, diesieben07 said: LivingSpawnEvent.SpecialSpawn should do what you need. thx!! Quote
IPECTER Posted February 15, 2022 Author Posted February 15, 2022 17 hours ago, diesieben07 said: LivingSpawnEvent.SpecialSpawn should do what you need. It has to be an event that runs only once for all mobs. No matter how mob spawn, Event should happen to Mob. LivingSpawnEvent.SpecialSpawn occur when only player summon Mob using spawn egg Quote
IPECTER Posted February 15, 2022 Author Posted February 15, 2022 1 hour ago, diesieben07 said: That is not true. look at this Quote
Recommended Posts
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.