I have Minecraft Forge installed. I took a look at some source code files, including EntityCreature.java, and could not find the code that makes the creatures wander around. I want to adjust the code to allow the creatures in the game to fly.
It looks like every creature has a path entity. Path entities can be generated quite easily using a method in the PathEntity.java file. This method is called getPathToXYZ.
Look into the EntityFlying class, or the Ghast as a complete example
Might be as simple as making the creatures you want to fly extend EntityFlying and implement IMob
Probably not though as this will probably make them behave in a strange manner
Good Luck
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Might be as simple as making the creatures you want to fly extend EntityFlying and implement IMob
Probably not though as this will probably make them behave in a strange manner
Good Luck