Need help with Spider AI
pkaifes opened this issue ยท 2 comments
Modloader
Forge
Minecraft version
1.12.2
Modloader version
forge
Mod version
1.10.0
TenshiLib version
1.5.0
Description
Hello, this is less of an issue, and more of a help needed. I'm putting together a modpack, and I would like to use this mod in addition to spiders 2.0. However, with both of these mods affecting the AI of spiders and crashing with a "java.lang.NullPointerException: Ticking entity" I would like to know if there is a way I may be able to disable ImprovedMods from impacting spiders. Both mods work fine on their own, but when together, I receive the error. I have tried some alterations in the config file (Using minecraft:spider|REVERSE|ALL and similar additions to the List-S:"More Entities" section). Or, if there is another fix you can think of, I would appreciate it. Thank you!
Steps to reproduce
- Step one: have both Spiders 2.0 and ImprovedMods Installed and active
- step two: start minecraft with Forge
- step three: create a world (creative helps)
- step 4: Spawn a spider in using its spawn egg (happens if spider spawns naturally as well)
- step 5: wait a moment for Spider to consider moving,
- step 6: game crashes because spider wanted to move.
Mods that might affect the issue
Spiders 2.0 (1.16.4)
Logs
java.lang.NullPointerException: Ticking entity
at tcb.spiderstpo.common.entity.movement.AdvancedWalkNodeProcessor.getSafePoints(AdvancedWalkNodeProcessor.java:521)
at tcb.spiderstpo.common.entity.movement.AdvancedWalkNodeProcessor.func_186320_a(AdvancedWalkNodeProcessor.java:196)
at tcb.spiderstpo.common.entity.movement.CustomPathFinder.findPath(CustomPathFinder.java:102)
at tcb.spiderstpo.common.entity.movement.CustomPathFinder.findPath(CustomPathFinder.java:67)
at tcb.spiderstpo.common.entity.movement.CustomPathFinder.func_186336_a(CustomPathFinder.java:58)
at tcb.spiderstpo.common.entity.movement.AdvancedClimberPathNavigator.func_179680_a(AdvancedClimberPathNavigator.java:63)
at net.minecraft.pathfinding.PathNavigate.func_75488_a(SourceFile:93)
at com.fantasticsource.dynamicstealth.server.ai.edited.AIWanderEdit.func_75250_a(AIWanderEdit.java:71)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:94)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:888)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2359)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:678)
at tcb.spiderstpo.common.entity.mob.BetterSpiderEntity.func_70636_d(BetterSpiderEntity.java:95)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2179)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:377)
at tcb.spiderstpo.common.entity.mob.AbstractClimberEntity.func_70071_h_(AbstractClimberEntity.java:370)
at tcb.spiderstpo.common.entity.mob.BetterSpiderEntity.func_70071_h_(BetterSpiderEntity.java:100)
at net.minecraft.world.World.func_72866_a(World.java:1996)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1958)
at net.minecraft.world.World.func_72939_s(World.java:1762)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
Note that a recent improved mobs update provided a lot of mixins for mob pathfinding. This causes collisions with Roadrunner as well. Either downgrade to improved mobs 1.9.0b, remove spiders 2.0, or wait until the optimization mod is split into its own, as Improved Mobs has become a "choose one or the other" scenario with mods like these.