Jump to content

Entity attacking


TeeAgeSee

Recommended Posts

Hey everyone,

i have a bigger problem here where a few of my entitys dont get spawned by command, i mean

lets explain:

 

My Alpha Spider doesnt attack, 

i have every attack function in the Alpha Spider class that the normal EntitySpider has

why doesnt it work?

On the Alpha Zombie and the Alpha Skeleton it works, they attack,

but not the spider or the enderman

 

Here i have the codeEntityAlphaSpider.java

Link to comment
Share on other sites

You'll need to dive into the AI functions to see if any of them make assumptions that make them blind to non-vanilla classes. If you don't see anything obvious, then set breakpoints and step through your alpha spider's thinking in the debugger.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.