Crash with regular mobs that can be tempted
Pyrofab opened this issue ยท 0 comments
Animal Feeding Troughs seems to assume that every MobEntity
that has a TemptGoal
is an AnimalEntity
. Some mods like Creeper Spores break that assumption, causing an instant crash as soon as one get spawned.
I believe one solution would be to fix this mixin so that it actually targets AnimalEntity
instead of MobEntity
. Note that you can make your mixin extend MobEntity
to gain access to the goalSelector
.