Jump to content

Help me with making Tameable mob AI.


OrcaWorld

Recommended Posts

Heyo, everybody. We're with my friend are going to create Java mod for 1.12.2. I made mod main and all other things. Mod will include tameable entities,  so I tried to made Tameable mob AI, but not all functions working right. If you know, what I need to rewrite here, please answer me, don't ignore me, please! 🥺KrashEntity.java

 

P.S. I have mistackes in

setCommandFeedback

this

this.setPathToEntity((PathEntity) null);
this.setTarget((Entity) null);

mistackes in setPathEntity and PathEntity and set Target

 

this.setPathToEntity((PathEntity) null);

 and this (also in setCommandFeedback)

 

and also this in "interact"

return super.interact(par1EntityPlayer);
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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