I want to know how to make a custom mob fly similar like a ghast. But I can't copy code from the ghast because it will affect the rest of the code. Can someone help me find out how to make a mob fly?
But the ghast's flying conflicts with the new AI. You'd have to disable the new AI and, if what Rameil is trying to do is similar to what I'm trying to do, it would screw up a lot his mob's code.
Yeah for example the ghast has no effect in lava and when in fire. My mob spawns at night but I also want him to burn at day. You cannot extend EntityFlying and have him have the same behavior unless if you modify the EntityFlying class.
No it won't... how will affect the rest of the code?
Oh... extends EntityFlying...
Hmm... I don't know.
To anyone wondering: the Ghast extends EntityFlying, and EntityFlying seems to be completely different than EntityMob.
If he extends EntityFlying, it won't have all the methods and shenanigans to do other stuff.