Topic category: Help with Minecraft modding (Java Edition)
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!
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.
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. :)