Jump to content

1.10.2 What makes wolves do not follow other players command except the one who tamed it.


Recommended Posts

Posted

I wasn't aware pets could follow anyone except the owner, but since I started modding I haven't actually played Minecraft much for a long time. Haha. If you want to change how they behave, you will have to tinker around with the entity's AI. There's one called EntityAIFollowOwner. You can create your own AI based on it, then during the EntityJoinWorldEvent you can remove the old one and register yours. Here's a decent tutorial that covers the basics:

 

http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2281106-tutorial-how-to-change-an-existing-mobs-ai

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.