Jump to content

[1.7.10] Temporarily replace external Entity with EntityPlayer then switch back


Thornack

Recommended Posts

Hi Everyone,

 

I am looking at adding functionality to minecraft that would allow the player to become an entity that exists in the world. I have an EntityCustomZombie that has custom stats (custom HP,Attack,defence,speed etc etc... Where each object of the EntityCustomZombie has a unique combination of these stats. I want to create an item that if the player right clicks on the zombie object the player becomes that zombie and inherits all particular stats that are associated with that instance of the EntityCustomZombie, while leaving the player model behind in a stationary spot at the location where you clicked on the zombie. I want this to be reversible so that as a zombie you can click on the players body and leave the zombies body and enter your own again leaving the zombie entity intact. Essentially I want the Zombie to keep all of its particular attributes throughout the entire process where just its movement/controls/cameraview are changed to those of the entity player.

 

Does anyone think this could be achieved and if so any ideas as to where to start? I know that you can replace the player model but I want more than just a simple model replace essentially I want to turn the player into a being that can mind control other entities at will and end the mind control to return them into their original state.

Link to comment
Share on other sites

You will need a cusotm player render to give your player the skin of that mob.

 

You will need to find a way for each of the stats you want to change to impliment that change on the player.

Long time Bukkit & Forge Programmer

Happy to try and help

Link to comment
Share on other sites

Might want to look at http://ichun.us/mods/morph/

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.

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.