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

Started by BountyHunter29 on Tue, 04/11/2017 - 12:39

Topic category: Help with modding (Java Edition)

Last seen on 10:32, 12. Apr 2017
Joined Sep 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have an army made of problems making a aggressive flying mob :´(
Tue, 04/11/2017 - 12:39

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!

Last seen on 19:42, 30. Sep 2020
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 10:32, 12. Apr 2017
Joined Sep 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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. :)