Crash with Alex's Mobs
AlexModGuy opened this issue ยท 1 comments
BigBrain assumes any mob is a GroundPathNavigator when isFlying() is false. But many modded mobs have unique path navigators and thus should not be given to RestrictSunGoal. I would like to fix this on the Alex's Mobs end but that cannot be done.
Possible fixes:
- assign new AI that can potentially cause crashes to ONLY vanillla mobs
- properly check if a mob's navigator is GroundPathNavigator rather than leave the vanilla, crash-causing logic there'
- create a new RestrictSunGoal that is compatible with any possible PathNavigator.
issues reported:
Code triggering the error is here:
https://github.com/seymourimadeit/Big-Brain/blob/main/src/main/java/tallestegg/bigbrain/BigBrainEvents.java#L321