Infernal Mobs Neoforge 21.0.X Ticking Entity Crash
tymmanence opened this issue ยท 3 comments
Like the title says, in Neoforge it seems like every enemy adjusted by Infernal Mobs throws a ticking entity error, unfortunately. I've captured 3 errors using Neruina because I was using that for testing to make sure it was every infernal mob, but I can get you a full crash report if you want. I've always loved this mod and would be happy to see it working in current versions!
java.lang.NoSuchMethodError: 'net.minecraft.world.entity.LivingEntity net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent.getNewTarget()'
at TRANSFORMER/[email protected]/atomicstryker.infernalmobs.common.EntityEventHandler.onEntityLivingSetAttackTarget(EntityEventHandler.java:68)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.SubscribeEventListener.invoke(SubscribeEventListener.java:49)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.CommonHooks.onLivingChangeTarget(CommonHooks.java:261)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.setTarget(Mob.java:243)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Creeper.setTarget(Creeper.java:170)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal.start(NearestAttackableTargetGoal.java:69)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.WrappedGoal.start(WrappedGoal.java:41)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.GoalSelector.tick(GoalSelector.java:99)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.serverAiStep(Mob.java:774)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:2705)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.aiStep(Mob.java:559)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Monster.aiStep(Monster.java:44)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2431)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.tick(Mob.java:351)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Creeper.tick(Creeper.java:161)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:774)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.mixinextras$bridge$accept$142(Level.java)
at TRANSFORMER/[email protected]/com.bawnorton.neruina.handler.TickHandler.safelyTickEntities(TickHandler.java:92)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.wrapOperation$zzi000$neruina$catchTickingEntities$notTheCauseOfTickLag(Level.java:1263)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:570)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.lambda$tick$2(ServerLevel.java:420)
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:400)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1037)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917)
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:110)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.NoSuchMethodError: 'net.minecraft.world.entity.LivingEntity net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent.getNewTarget()'
at TRANSFORMER/[email protected]/atomicstryker.infernalmobs.common.EntityEventHandler.onEntityLivingSetAttackTarget(EntityEventHandler.java:68)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.SubscribeEventListener.invoke(SubscribeEventListener.java:49)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.CommonHooks.onLivingChangeTarget(CommonHooks.java:261)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.setTarget(Mob.java:243)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.target.NearestAttackableTargetGoal.start(NearestAttackableTargetGoal.java:69)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.WrappedGoal.start(WrappedGoal.java:41)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.GoalSelector.tick(GoalSelector.java:99)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.serverAiStep(Mob.java:774)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:2705)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.aiStep(Mob.java:559)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Monster.aiStep(Monster.java:44)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Zombie.aiStep(Zombie.java:253)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2431)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.tick(Mob.java:351)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Zombie.tick(Zombie.java:225)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:774)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.mixinextras$bridge$accept$142(Level.java)
at TRANSFORMER/[email protected]/com.bawnorton.neruina.handler.TickHandler.safelyTickEntities(TickHandler.java:92)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.wrapOperation$zzi000$neruina$catchTickingEntities$notTheCauseOfTickLag(Level.java:1263)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:570)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.lambda$tick$2(ServerLevel.java:420)
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:400)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1037)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917)
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:110)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
at java.base/java.lang.Thread.run(Thread.java:1583)
java.lang.NoSuchMethodError: 'net.minecraft.world.entity.LivingEntity net.neoforged.neoforge.event.entity.living.LivingChangeTargetEvent.getNewTarget()'
at TRANSFORMER/[email protected]/atomicstryker.infernalmobs.common.EntityEventHandler.onEntityLivingSetAttackTarget(EntityEventHandler.java:68)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.SubscribeEventListener.invoke(SubscribeEventListener.java:49)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:350)
at MC-BOOTSTRAP/net.neoforged.bus/net.neoforged.bus.EventBus.post(EventBus.java:315)
at TRANSFORMER/[email protected]/net.neoforged.neoforge.common.CommonHooks.onLivingChangeTarget(CommonHooks.java:261)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.setTarget(Mob.java:243)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal.alertOther(HurtByTargetGoal.java:116)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal.alertOthers(HurtByTargetGoal.java:111)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.target.HurtByTargetGoal.start(HurtByTargetGoal.java:74)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.WrappedGoal.start(WrappedGoal.java:41)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.ai.goal.GoalSelector.tick(GoalSelector.java:99)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.serverAiStep(Mob.java:774)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:2705)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.aiStep(Mob.java:559)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Monster.aiStep(Monster.java:44)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Zombie.aiStep(Zombie.java:253)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:2431)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.Mob.tick(Mob.java:351)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.monster.Zombie.tick(Zombie.java:225)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:774)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.mixinextras$bridge$accept$142(Level.java)
at TRANSFORMER/[email protected]/com.bawnorton.neruina.handler.TickHandler.safelyTickEntities(TickHandler.java:92)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.wrapOperation$zzi000$neruina$catchTickingEntities$notTheCauseOfTickLag(Level.java:1263)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:570)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.lambda$tick$2(ServerLevel.java:420)
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:400)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1037)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:917)
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:110)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:707)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:267)
at java.base/java.lang.Thread.run(Thread.java:1583)
It's probably Neoforge changing their API. saucyexpress just pull requested an update:
28203b6
I have just pushed a new version to curse, see if that helps your problem.
Hey, thanks! Looks like it's working now, I tried it alone and then with a slew of other mods and no crashes after multiple encounters. Thanks for the quick fix and all your work! I'll report if anything comes up in the future!