Jump to content

[1.8] Summon Custom Entity (following you and fights for you)


Recommended Posts

Posted

How can i add an Entity which is summonable by an Item. This Entity should follow the player and fight for him, also while the entity is spawned it should consume Mana from the player and if the mana is 0 it should disappear. Also when using the item again it should disappear too.

 

I read the code of EntityWolf but i really didn't get it, are there any examples to summon a mob that follows and fights for you with a spell?

Thanks for any help, because i really don't know how i should start, at the moment i have a entity which does nothing, a model and a renderer. Everything works fine but now i need to change the entity to follow the player and fight for him.

 

 

"My Crew is World Wide." 「ヤング • エルトウ」

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.