Posted July 4, 201312 yr Is there any way to make a custom spawn egg easilly, without basically having to recode the functionality? I wish to make a spawn egg that passes the player who spawned it to the mob, for some targeting functionality. (the non spawned in version will target the creature who created the mob). I understand I will have to handle special cases for dispensers and the like, however this spawn egg is mostly for debug, and I am thinking of removing it once done testing anyway.
July 4, 201312 yr Yes. EntityList.addMapping(EntityTreant.class, "Treant", 3, 4930341, 1584909); The first integer is just a mob entity ID, I used the same one I did with registerModEntity. The second two are colors for the egg. I haven't checked, but I think the first one is the egg's base color and the second is the spot color. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
July 4, 201312 yr Author Thanks, although that part I allready have, I was asking about custom ones as I need to give the resulting entity a reference to the player that spawned them is there any way to get an egg to run an extra function>
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.