Jump to content

Modify mobspawner created entity


Recommended Posts



I have a mod I'm trying to make compatible with forge, One function I need is the ability to manipulate the entities being created by mob spawners. When I use the LivingSpawnEvent.SpecialSpawn class event to modify spawns it only applies to entities spawning naturally, not to any other sort of spawns.


Is there some other way to do this, or is this just not possible right now?


In the base code this is something i've been handling in MobSpawnerBaseLogic.func_98265_a(Entity par1Entity) just by inserting my modifications right at the end of that method.


Thanks in advance for any insights.

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.

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.

  • Create New...

Important Information

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