Jump to content

EntityLiving#onInitialSpawn Event


DanielDawn

Recommended Posts

I'm sorry if this has already been suggested. I wanted an event that happens at the end of EntityLiving#onInitialSpawn, so that I could add armor to the Entity. If the entity is spawned with the /summon command and the user specifies that they want certain settings for the Entity, I don't want to interfere in that scenario, and neither does Minecraft. This is why Minecraft checks if the argument length is greater than or equal to five to stop this from happening. I essentially want a nice way of adding to the pool of random Entity equipment some get when they spawn, without interfering with someone's wishes of an Entity being summoned with specific equipment. If not this, I'd like maybe some registry to add armor to the pool of randomly assigned equipment of an Entity, like how Fishing treasure, fish, and trash are added. 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.