Jump to content

[1.14.4] Understanding Mob AI


JimiIT92

Recommended Posts

I'm trying to make two mobs, that are similar to Bats, but that will fight each others. The mob itself works fine, however their AI is a bit clunky. When there are many of them they fight each other and is fine, but when there are just few of them, like for instance a 5v5 situation, they just stare at each others. What i'm trying to do is that they constantly fight each others until there is no member of the other mob alive.
This is the repository for the Code i'm using
https://github.com/JimiIT92/AntiblazeMod

I really can't understand why this happen since the AI Goal code is pretty much a copy of the Zombie Attack player code :/

Don't blame me if i always ask for your help. I just want to learn to be better :)

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.