I have an army made of problems making a aggressive flying mob :´(

Started by BountyHunter29 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have an army made of problems making a aggressive flying mob :´(

Well, as the title says, I am creating a mob and I want it to attack all sort of living things (like a wither), act like and enderman (teleport, be angry if someone looks at it....) and shoot arrows.

All of that is 80 approximately done (thanks to the good people in this forum :D), but the big big problem is that I also want to give the mob the ability to fly like a Ghast.

I tried with the code of the Ghast, the Wither, the Bat, the Blaze, but I always get errors (for example, I cannot put the AI of the Enderman with the Ghast and I cannot use the entityghast.randomfly because in the original class it is protected).

So, in conclusion, could please anyone help me and give my mob wings (not literally XD)?

Thanks for reading!

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know how to help you
Wed, 04/12/2017 - 09:46

I don't know how to help you for making it fly, but I can help for this problem :
For making that it attacks all entities, you need to add an "act aggressively against " AI for each mob (don't forget to put look around and wander and to use the "Do Ranged Attacks? " box.

Joined Sep 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:I don't know how to help you
Wed, 04/12/2017 - 10:33

It is a shame you do not know how to solve the fly problem, but anyway thanks for the other thing!

I will be here waiting for anyone to solve my little big problem. :)