Simple Farming

Simple Farming

11M Downloads

TemptGoal Crash in 1.16.4

alexnmt opened this issue · 25 comments

commented

Forge 35.1.12

Had this crash a couple of times. It looks like it's a simple farming bug, though forgive me if it's not. The first time it happened it was while flying around in one world. The most recent time, it was on world load of a different world.

`---- Minecraft Crash Report ----
// Sorry :(

Time: 23/12/20 08:55
Description: Exception in server tick loop

java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Unsupported mob type for TemptGoal
at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_242] {}
at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_242] {}
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:618) ~[?:1.8.0_242] {}
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591) ~[?:1.8.0_242] {}
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:456) ~[?:1.8.0_242] {}
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter.func_219083_b(SourceFile:58) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:172) ~[?:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213166_h(SourceFile:545) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:134) ~[?:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213168_p(SourceFile:554) ~[?:?] {re:classloading}
at net.minecraft.world.server.ServerChunkProvider.func_217234_d(SourceFile:280) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_213205_aW(MinecraftServer.java:721) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:charm.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:A}
at net.minecraft.server.MinecraftServer.func_213168_p(MinecraftServer.java:710) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:charm.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:A}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(ThreadTaskExecutor.java:150) ~[?:?] {re:computing_frames,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
at net.minecraft.server.MinecraftServer.func_213202_o(MinecraftServer.java:696) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:charm.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:645) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:charm.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:A}
at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:charm.mixins.json:accessor.MinecraftServerAccessor,pl:mixin:A}
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242] {}
Caused by: java.lang.IllegalArgumentException: Unsupported mob type for TemptGoal
at net.minecraft.entity.ai.goal.TemptGoal.(SourceFile:40) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:quark.mixins.json:TemptGoalMixin,pl:mixin:A}
at enemeez.simplefarming.entities.ai.MoreTemptation.(MoreTemptation.java:9) ~[simplefarming:1.16.4-1.3.5] {re:classloading}
at enemeez.simplefarming.events.TemptationTask.onEntitySpawn(TemptationTask.java:33) ~[simplefarming:1.16.4-1.3.5] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_983_TemptationTask_onEntitySpawn_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-3.0.5-service.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:297) ~[eventbus-3.0.5-service.jar:?] {}
at net.minecraft.world.server.ServerWorld.func_217440_f(ServerWorld.java:829) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:charm.mixins.json:ServerWorldMixin,pl:mixin:APP:charm.mixins.json:accessor.ServerWorldAccessor,pl:mixin:APP:quark.mixins.json:ServerWorldMixin,pl:mixin:A}
at net.minecraft.world.server.ChunkManager.lambda$null$25(ChunkManager.java:763) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[datafixerupper-4.0.26.jar:?] {re:classloading}
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.0.26.jar:?] {}
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[datafixerupper-4.0.26.jar:?] {re:classloading}
at net.minecraft.world.server.ChunkManager.lambda$func_219200_b$26(ChunkManager.java:733) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616) ~[?:1.8.0_242] {}
... 15 more

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details --
Details:
Minecraft Version: 1.16.4
Minecraft Version ID: 1.16.4
Operating System: Mac OS X (x86_64) version 10.14.6
Java Version: 1.8.0_242, AdoptOpenJDK
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), AdoptOpenJDK
Memory: 1430302536 bytes (1364 MB) / 4504158208 bytes (4295 MB) up to 7635730432 bytes (7282 MB)
CPUs: 16
JVM Flags: 3 total; -Xmx8192m -Xms8192m -Xms256m
ModLauncher: 8.0.6+85+master.325de55
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/mixin-0.8.2.jar mixin PLUGINSERVICE
/eventbus-3.0.5-service.jar eventbus PLUGINSERVICE
/forge-1.16.4-35.1.12.jar object_holder_definalize PLUGINSERVICE
/forge-1.16.4-35.1.12.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-2.2.0-shadowed.jar accesstransformer PLUGINSERVICE
/forge-1.16.4-35.1.12.jar capability_inject_definalize PLUGINSERVICE
/forge-1.16.4-35.1.12.jar runtimedistcleaner PLUGINSERVICE
/mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE
/OptiFine_1.16.4_HD_U_G5.jar OptiFine TRANSFORMATIONSERVICE
/forge-1.16.4-35.1.12.jar fml TRANSFORMATIONSERVICE
FML: 35.1
Forge: net.minecraftforge:35.1.12
FML Language Providers:
[email protected]
minecraft@1
Mod List:
Camels-1.16.4-1.0.0.jar |Camels Mod |camels |1.0.0 |DONE |NOSIGNATURE
astralsorcery-1.16.4-1.13.8.jar |Astral Sorcery |astralsorcery |1.16.4-1.13.8 |DONE |NOSIGNATURE
customfence-1-16-4.jar |Customfence |customfence |1-16-4 |DONE |NOSIGNATURE
fish_in_planks-1.16.4-0.2.jar |Fish in Planks |fish_in_planks |1.16.4-0.2 |DONE |NOSIGNATURE
incontrol-1.16-5.0.3.jar |InControl |incontrol |1.16-5.0.3 |DONE |NOSIGNATURE
DoggyTalents-1.16.4-2.0.1.1.jar |Doggy Talents 2 |doggytalents |2.0.1.1 |DONE |NOSIGNATURE
ContentTweaker-1.16-1.0.0.develop.10.jar |ContentTweaker |contenttweaker |1.0.0.develop.10 |DONE |NOSIGNATURE
looot-1.16.4-1.0.0.3.jar |Looot |looot |1.0.0.3 |DONE |NOSIGNATURE
InitialInventory-5.0.1.11.jar |Initial Inventory |initialinventory |5.0.1.11 |DONE |NOSIGNATURE
XaerosWorldMap_1.11.4_Forge_1.16.4.jar |Xaero's World Map |xaeroworldmap |1.11.4 |DONE |NOSIGNATURE
Controlling-7.0.0.11.jar |Controlling |controlling |7.0.0.11 |DONE |NOSIGNATURE
ReAuth-1.16-Forge-3.9.3.jar |ReAuth |reauth |3.9.3 |DONE |3d:06:1e:e5:da:e2:ff:ae:04:00:be:45:5b:ff:fd:70:65:00:67:0b:33:87:a6:5f:af:20:3c:b6:a1:35:ca:7e
Placebo-1.16.3-4.3.3.jar |Placebo |placebo |4.3.3 |DONE |NOSIGNATURE
dankstorage-3.13.jar |Dank Storage |dankstorage |3.13 |DONE |NOSIGNATURE
citadel-1.5.3.jar |Citadel |citadel |1.5.3 |DONE |NOSIGNATURE
alexsmobs-1.2.0.jar |Alex's Mobs |alexsmobs |1.2.0 |DONE |NOSIGNATURE
ftb-gui-library-1604.1.1.26.jar |FTB GUI Library |ftbguilibrary |1604.1.1.26 |DONE |NOSIGNATURE
potionsmaster-0.1.33-1.16.4-35.1.13.jar |Potions Master |potionsmaster |0.1.33-1.16.4-35.1.1|DONE |NOSIGNATURE
Bookshelf-1.16.4-9.1.13.jar |Bookshelf |bookshelf |9.1.13 |DONE |ea:45:b3:82:b6:9d:50:16:95:e7:2e:34:e1:92:d5:b4:9b:69:90:d3:4f:2e:71:99:b0:be:40:80:27:1f:3e:b0
randompatches-1.16.4-1.22.1.11.jar |RandomPatches |randompatches |1.16.4-1.22.1.11 |DONE |92:f6:29:d4:09:89:f5:f5:98:5e:20:34:31:d0:7b:58:22:06:bd:a5:d1:6a:92:6e:ac:3d:8d:18:c5:b2:5b:d7
ProgressiveBosses-2.2.0-mc1.16.x.jar |Progressive Bosses |progressivebosses |2.2.0 |DONE |NOSIGNATURE
SnowRealMagic-1.16.3-2.2.2.jar |Snow! Real Magic! |snowrealmagic |2.2.2 |DONE |NOSIGNATURE
FpsReducer-mc1.16.4-1.18.jar |FPS Reducer |fpsreducer |mc1.16.4-1.18 |DONE |NOSIGNATURE
JustEnoughResources-1.16.4-0.12.0.103.jar |Just Enough Resources |jeresources |0.12.0.103 |DONE |NOSIGNATURE
BetterThanMending-1.5.1.jar |BetterThanMending |betterthanmending |1.5.1 |DONE |NOSIGNATURE
stackrefill_1.16.4-1.1.jar |Stack Refill |stackrefill |1.1 |DONE |NOSIGNATURE
MmmMmmMmmMmm-1.16-1.0.1.jar |MmmMmmMmmMmm |dummmmmmy |1.0.1 |DONE |NOSIGNATURE
supplementaries-0.9.14.jar |Supplementaries |supplementaries |0.9.14 |DONE |NOSIGNATURE
betterendforge-1.16.4-1.1.0.jar |BetterEnd Forge Port |betterendforge |1.16.4-1.1.0 |DONE |NOSIGNATURE
anviltweaks-3.1.jar |Anvil Tweaks |anviltweaks |3.1 |DONE |NOSIGNATURE
wt_improvements-1.16.3-1.1.0.0.jar |Wandering Trader Improvements |wt_improvements |1.16.3-1.1.0.0 |DONE |NOSIGNATURE
FarmersDelight-1.16.3-0.2.4b.jar |Farmer's Delight |farmersdelight |1.16.3-0.2.4b |DONE |NOSIGNATURE
RapidLeafDecay-1.16.4-1.0.0.jar |Rapid Leaf Decay |rapid_leaf_decay |1.0.0 |DONE |NOSIGNATURE
simplefarming-1.16.4-1.3.5.jar |Simple Farming |simplefarming |1.16.4-1.3.5 |DONE |NOSIGNATURE
Botania-1.16.4-410.jar |Botania |botania |1.16.4-410 |DONE |NOSIGNATURE
shulker_enchantments-1.1.1.jar |Shulker Enchantments |shulker_enchantments |1.1.1 |DONE |NOSIGNATURE
charmonium-forge-1.16.4-2.1.9.jar |Charmonium |charmonium |2.1.4 |DONE |NOSIGNATURE
curios-forge-1.16.4-4.0.3.0.jar |Curios API |curios |1.16.4-4.0.3.0 |DONE |NOSIGNATURE
tetra-1.16.4-3.3.1.jar |Tetra |tetra |3.3.1 |DONE |NOSIGNATURE
eidolon-0.2.jar |Eidolon |eidolon |0.2 |DONE |NOSIGNATURE
Patchouli-1.16.4-48.jar |Patchouli |patchouli |1.16.4-48 |DONE |NOSIGNATURE
collective-1.16.4-1.53.jar |Collective |collective |1.53 |DONE |NOSIGNATURE
tombstone-1.16-6.2.0.jar |Corail Tombstone |tombstone |1.16-6.2.0 |DONE |NOSIGNATURE
buildersaddition-1.16.4-20201220b.jar |Builders Crafts & Addition |buildersaddition |1.16.4-20201220b |DONE |NOSIGNATURE
travelers_index-1.16.4-1.0.2.jar |Traveler's Index |travelers_index |1.16.4-1.0.2 |DONE |NOSIGNATURE
NaturesAura-33.2.jar |Nature's Aura |naturesaura |33.2 |DONE |NOSIGNATURE
constructionwand-1.16.2-1.7.jar |Construction Wand |constructionwand |1.16.2-1.7 |DONE |NOSIGNATURE
sapience-1.16.4-1.1.1.jar |Sapience |sapience |1.1.1 |DONE |NOSIGNATURE
AI-Improvements-1.16.2-0.3.0.jar |AI-Improvements |aiimprovements |0.3.0 |DONE |NOSIGNATURE
observerlib-1.16.4-1.4.4.jar |ObserverLib |observerlib |1.16.4-1.4.4 |DONE |NOSIGNATURE
HarderNaturalHealing-1.16.4-1.42.0.2.jar |Harder Spawners Mod |hardernaturalhealing |1.42.0.2 |DONE |NOSIGNATURE
charm-forge-1.16.4-2.1.9.jar |Charm |charm |2.1.9 |DONE |NOSIGNATURE
bettas-1.2.0.jar |Bettas |bettas |1.2.0 |DONE |NOSIGNATURE
CodeChickenLib-1.16.4-3.5.0.398-universal.jar |CodeChicken Lib |codechickenlib |3.5.0.398 |DONE |31:e6:db:63:47:4a:6e:e0:0a:2c:11:d1:76:db:4e:82:ff:56:2d:29:93:d2:e5:02:bd:d3:bd:9d:27:47:a5:71
BetterMineshafts-Forge-1.16.3-1.1.1.jar |YUNG's Better Mineshafts |bettermineshafts |1.16.3-1.1.1 |DONE |NOSIGNATURE
forge-1.16.4-geckolib-3.0.0-beta.10.jar |GeckoLib |geckolib3 |3.0.0-beta.10 |DONE |NOSIGNATURE
BetterAdvancements-1.16.4-0.1.0.103.jar |Better Advancements |betteradvancements |0.1.0.103 |DONE |NOSIGNATURE
Kiwi-1.16.3-3.4.1.jar |Kiwi |kiwi |3.4.1 |DONE |NOSIGNATURE
Cursed-1.16.4-6.0.2.jar |Cursed |cursed |6.0.2 |DONE |ea:45:b3:82:b6:9d:50:16:95:e7:2e:34:e1:92:d5:b4:9b:69:90:d3:4f:2e:71:99:b0:be:40:80:27:1f:3e:b0
Ma-Enchants-1.16.3-3.5.0.jar |Ma Enchants |ma-enchants |1.16.3-3.5.0 |DONE |NOSIGNATURE
spiders-2.0-1.16.4-1.0.4.jar |Spiders 2.0 |spiderstpo |1.0.4 |DONE |NOSIGNATURE
jei-1.16.4-7.6.0.62.jar |Just Enough Items |jei |7.6.0.62 |DONE |NOSIGNATURE
AttributeFix-1.16.4-9.0.2.jar |AttributeFix |attributefix |9.0.2 |DONE |ea:45:b3:82:b6:9d:50:16:95:e7:2e:34:e1:92:d5:b4:9b:69:90:d3:4f:2e:71:99:b0:be:40:80:27:1f:3e:b0
create-mc1.16.3_v0.3b.jar |Create |create |mc1.16.3_v0.3b |DONE |NOSIGNATURE
Waystones_1.16.3-7.3.1.jar |Waystones |waystones |7.3.1 |DONE |NOSIGNATURE
Clumps-6.0.0.13.jar |Clumps |clumps |6.0.0.13 |DONE |NOSIGNATURE
shutupexperimentalsettings-1.0.1.jar |Shutup Experimental Settings! |shutupexperimentalsettings |1.0.1 |DONE |NOSIGNATURE
mgui-1.16.4-3.1.3.jar |mgui |mgui |3.1.3 |DONE |NOSIGNATURE
comforts-forge-1.16.4-4.0.0.3.jar |Comforts |comforts |1.16.4-4.0.0.2 |DONE |NOSIGNATURE
NaturesCompass-1.16.4-1.8.6.jar |Nature's Compass |naturescompass |1.16.4-1.8.6 |DONE |NOSIGNATURE
LibX-1.16.3-1.0.5.jar |LibX |libx |1.16.3-1.0.5 |DONE |NOSIGNATURE
decorative_blocks-1.16.4-1.6.2.jar |Decorative Blocks |decorative_blocks |1.6.2 |DONE |NOSIGNATURE
champions-forge-1.16.3-2.0.0.1.jar |Champions |champions |1.16.3-2.0.0.1 |DONE |NOSIGNATURE
snowundertrees-1.16.3-v1.1.2.jar |Snow Under Trees |snowundertrees |v1.1.2 |DONE |NOSIGNATURE
additional_lights-1.16.4-2.1.3.jar |Additional Lights |additional_lights |2.1.3 |DONE |NOSIGNATURE
iceandfire-2.1.4-1.16.4.jar |Ice and Fire |iceandfire |2.1.4-1.16.4 |DONE |NOSIGNATURE
JEITweaker-1.16.4-1.0.1.5.jar |JEI Tweaker |jeitweaker |1.0.1.5 |DONE |NOSIGNATURE
EnderStorage-1.16.4-2.7.0.159-universal.jar |EnderStorage |enderstorage |2.7.0.159 |DONE |31:e6:db:63:47:4a:6e:e0:0a:2c:11:d1:76:db:4e:82:ff:56:2d:29:93:d2:e5:02:bd:d3:bd:9d:27:47:a5:71
CraftTweaker-1.16.4-7.0.0.63.jar |CraftTweaker |crafttweaker |7.0.0.63 |DONE |NOSIGNATURE
forge-1.16.4-35.1.12-universal.jar |Forge |forge |35.1.12 |DONE |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
blame-1.7.5.jar |Blame! |blame |1.7.5 |DONE |NOSIGNATURE
MythicBotany-1.16.3-1.2.0.jar |MythicBotany |mythicbotany |1.16.3-1.2.0 |DONE |NOSIGNATURE
CraftingTweaks_1.16.3-12.2.0.jar |Crafting Tweaks |craftingtweaks |12.2.0 |DONE |NOSIGNATURE
forge-1.16.4-35.1.12-client.jar |Minecraft |minecraft |1.16.4 |DONE |NOSIGNATURE
cofh_core-1.16.3-1.0.4.jar |CoFH Core |cofh_core |1.0.4 |DONE |NOSIGNATURE
ensorcellation-1.16.3-1.0.3.jar |Ensorcellation |ensorcellation |1.0.3 |DONE |NOSIGNATURE
EnchantmentDescriptions-1.16.4-6.0.2.jar |EnchantmentDescriptions |enchdesc |6.0.2 |DONE |ea:45:b3:82:b6:9d:50:16:95:e7:2e:34:e1:92:d5:b4:9b:69:90:d3:4f:2e:71:99:b0:be:40:80:27:1f:3e:b0
theoneprobe-1.16-3.0.6.jar |The One Probe |theoneprobe |1.16-3.0.6 |DONE |NOSIGNATURE
swingthroughgrass-1.16.4-1.5.3.jar |SwingThroughGrass |swingthroughgrass |1.16.4-1.5.3 |DONE |NOSIGNATURE
MouseTweaks-2.13-mc1.16.2.jar |Mouse Tweaks |mousetweaks |2.13 |DONE |NOSIGNATURE
mana-and-artifice-1.2.0.4.jar |Mana and Artifice |mana-and-artifice |1.2.0.4 |DONE |NOSIGNATURE
icepreventscropgrowth_1.16.4-1.0.jar |Ice Prevents Crop Growth |icepreventscropgrowth |1.0 |DONE |NOSIGNATURE
CreativeCore_v2.0.8_mc1.16.4.jar |CreativeCore |creativecore |2.0.0 |DONE |NOSIGNATURE
IguanaTweaksReborn-2.2.0-mc1.16.x.jar |IguanaTweaks Reborn |iguanatweaksreborn |2.2.0 |DONE |NOSIGNATURE
astikorcarts-1.16.4-1.1.0.jar |AstikorCarts |astikorcarts |1.1.0 |DONE |NOSIGNATURE
Mantle-1.16.4-1.6.43.jar |Mantle |mantle |1.6.43 |DONE |NOSIGNATURE
Inspirations-1.16.3-1.2.1.24.jar |Inspirations |inspirations |1.2.1 |DONE |NOSIGNATURE
Xaeros_Minimap_20.29.1_Forge_1.16.4.jar |Xaero's Minimap |xaerominimap |20.29.1 |DONE |NOSIGNATURE
ftb-backups-2.1.1.6.jar |FTB Backups |ftbbackups |2.1.1.6 |DONE |NOSIGNATURE
FastWorkbench-1.16.3-4.4.1.jar |FastWorkbench |fastbench |4.4.1 |DONE |NOSIGNATURE
AutoRegLib-1.6-47.jar |AutoRegLib |autoreglib |1.6-47 |DONE |NOSIGNATURE
Quark-r2.4-283.jar |Quark |quark |r2.4-283 |DONE |NOSIGNATURE
structurize-0.13.104-ALPHA-universal.jar |Structurize |structurize |0.13.104-ALPHA |DONE |NOSIGNATURE
AmbientEnvironment-4.0.0.6.jar |Ambient Environment |ambientenvironment |4.0.0.6 |DONE |NOSIGNATURE
minecolonies-0.13.535-ALPHA-universal.jar |Minecolonies |minecolonies |0.13.535-ALPHA |DONE |NOSIGNATURE
FastFurnace-1.16.3-4.3.0.jar |FastFurnace |fastfurnace |4.3.0 |DONE |NOSIGNATURE
AppleSkin-mc1.16.2-forge-1.0.14.jar |AppleSkin |appleskin |1.0.14 |DONE |NOSIGNATURE
solcarrot-1.16.3-1.9.8.jar |Spice of Life: Carrot Edition |solcarrot |1.16.3-1.9.8 |DONE |NOSIGNATURE
Aquaculture-1.16.4-2.1.7.jar |Aquaculture 2 |aquaculture |1.16.4-2.1.7 |DONE |NOSIGNATURE
OpenLoader-1.16.4-8.0.1.jar |OpenLoader |openloader |8.0.1 |DONE |ea:45:b3:82:b6:9d:50:16:95:e7:2e:34:e1:92:d5:b4:9b:69:90:d3:4f:2e:71:99:b0:be:40:80:27:1f:3e:b0
DefaultOptions_1.16.3-12.2.0.jar |Default Options |defaultoptions |12.2.0 |DONE |NOSIGNATURE
Crash Report UUID: e183ff80-5628-4022-8341-8fe27df4b4c4
Kiwi Modules:
kiwi:contributors
kiwi:data
snowrealmagic:core
snowrealmagic:world
Patchouli open book context: n/a
Player Count: 1 / 8; [ServerPlayerEntity['alexnmt'/135, l='ServerLevel[Build World 2]', x=86.24, y=68.00, z=-455.16]]
Data Packs: vanilla, mod:camels (incompatible), mod:astralsorcery, mod:customfence, mod:fish_in_planks, mod:incontrol (incompatible), mod:doggytalents (incompatible), mod:contenttweaker, mod:looot, mod:initialinventory (incompatible), mod:xaeroworldmap, mod:controlling, mod:reauth, mod:placebo (incompatible), mod:dankstorage, mod:citadel (incompatible), mod:alexsmobs, mod:ftbguilibrary (incompatible), mod:potionsmaster, mod:bookshelf, mod:randompatches (incompatible), mod:progressivebosses, mod:snowrealmagic, mod:fpsreducer, mod:jeresources, mod:betterthanmending, mod:stackrefill, mod:dummmmmmy (incompatible), mod:supplementaries, mod:betterendforge, mod:anviltweaks (incompatible), mod:wt_improvements (incompatible), mod:farmersdelight, mod:rapid_leaf_decay, mod:simplefarming, mod:botania, mod:shulker_enchantments, mod:charmonium (incompatible), mod:curios, mod:tetra, mod:eidolon, mod:patchouli (incompatible), mod:collective, mod:tombstone, mod:buildersaddition (incompatible), mod:travelers_index (incompatible), mod:naturesaura (incompatible), mod:constructionwand (incompatible), mod:sapience, mod:aiimprovements, mod:observerlib, mod:hardernaturalhealing (incompatible), mod:charm (incompatible), mod:bettas, mod:codechickenlib (incompatible), mod:bettermineshafts (incompatible), mod:geckolib3 (incompatible), mod:betteradvancements, mod:kiwi (incompatible), mod:cursed, mod:ma-enchants (incompatible), mod:spiderstpo, mod:jei, mod:attributefix, mod:create (incompatible), mod:waystones (incompatible), mod:clumps, mod:shutupexperimentalsettings (incompatible), mod:mgui (incompatible), mod:comforts (incompatible), mod:naturescompass (incompatible), mod:libx, mod:decorative_blocks, mod:champions (incompatible), mod:snowundertrees, mod:additional_lights, mod:iceandfire (incompatible), mod:jeitweaker, mod:enderstorage (incompatible), mod:crafttweaker, mod:forge, mod:blame, mod:mythicbotany, mod:craftingtweaks (incompatible), mod:cofh_core (incompatible), mod:ensorcellation (incompatible), mod:enchdesc, mod:theoneprobe, mod:swingthroughgrass (incompatible), mod:mousetweaks, mod:mana-and-artifice, mod:icepreventscropgrowth, mod:creativecore (incompatible), mod:iguanatweaksreborn (incompatible), mod:astikorcarts, mod:mantle (incompatible), mod:inspirations (incompatible), mod:xaerominimap, mod:ftbbackups (incompatible), mod:fastbench (incompatible), mod:autoreglib (incompatible), mod:quark (incompatible), mod:structurize, mod:ambientenvironment, mod:minecolonies (incompatible), mod:fastfurnace (incompatible), mod:appleskin, mod:solcarrot (incompatible), mod:aquaculture (incompatible), mod:openloader, mod:defaultoptions (incompatible), openloader/data/Dragon_Tweaks_1.3, openloader/data/contenttweaker, openloader/data/vanillaplus (incompatible)
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge'
OptiFine Version: OptiFine_1.16.4_HD_U_G5
OptiFine Build: 20201106-171901
Render Distance Chunks: 19
Mipmaps: 4
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 2.1 ATI-2.11.23
OpenGlRenderer: AMD Radeon Pro Vega 20 OpenGL Engine
OpenGlVendor: ATI Technologies Inc.
CpuCount: 16`

commented

I seem to also be getting this temptgoal crash although my crash log is different, I can create a new issue if you like but thought it maybe relevant crash.

https://pastebin.com/ztb8czem

commented

does it do it if you remove optifine?

commented

Crash reports mention quark and apotheosis, temptgoal mean its trying to lure an animal with food and its failing. Id disable all mods just keep sf and add mods slowly to try them out, start with mob mods obviously, id say try just sf and quark first

commented

still happens, don't know if that's a good sign or bad lol

https://pastebin.com/Wf1b1vdP

Edit: dont know if it helps but its crashing as I approach a tower from I think Valhesia structures and its possible that the mob is a Vex (only mob that the tower can spawn that I haven't encountered yet)

commented

I rechecked my inv on my save and there is no simple foods on me at the time of the crash, which means the crash was caused environmentally (maybe a mod causing seeds/food on the ground to be tempting). i will try to reproduce with just these 3 mods in diff combinations but leaning maybe towards apotheosis based on the below from the log

Stacktrace:
at net.minecraft.entity.ai.goal.TemptGoal.(SourceFile:40) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:fml:apotheosis:apothtempting,pl:mixin:APP:quark.mixins.json:TemptGoalMixin,pl:mixin:A}

commented

I haven't had the chance to test anything yet, but I don't have apotheosis installed, so I don't think it would be that exclusively.

my Java knowledge is very very limited, but looking through the mod code and my crash report, it seemed to be related to something in the entities/ai/MoreTemptation.java and events/TemptationTask.java where it references specifically chickens and the seeds that work to tempt them. That pointer is there in both mine and your crash reports

at enemeez.simplefarming.entities.ai.MoreTemptation.(MoreTemptation.java:9) ~[simplefarming:1.16.4-1.3.5] {re:classloading} at enemeez.simplefarming.events.TemptationTask.onEntitySpawn(TemptationTask.java:33) ~[simplefarming:1.16.4-1.3.5] {re:classloading}

Could it have something to do with a new type of chicken mob that is added? There aren't a ton of relevant mods that both of us are using so maybe that's a place to start. We both have Alex's mobs - it's a new mod so I'm sure there are plenty of bugs. Perhaps one of the birds could be a modified chicken? Could be Quark as already suggested. Maybe it's something that adds other seeds, such as farmer's delight. I suppose it could be AI Improvements if that is messing with the AI...

commented

So I tried loading my save without alexsmobs and going towards the area that consistently crashed (like 7 or 8 times in a row) and I can get right up to the tower which I couldn't do before, I will set up a test pack with just alexsmobs and simplefarming using the same forge version as the modified Enigmatica 6 modpack im running to see if I get some results.

If I can reproduce the crash with just alexsmobs and simplefarming ill link the crash to their issue tracker as well.

commented

@stevojhall Any update? :)

commented

I've not managed to test yet as I've been busy, but will do this weekend. It wouldn't totally surprise me if it was Alex's mobs. I love his mods but they are a bit buggy. I had to take I&F out of my modpack for the time being because there were some bugs that have needed fixing from a few versions ago.

@NillerMedDild I saw that other post and it mentioned an alligator. In one of the worlds I was in that had this crash, there was definitely an alligator near by in the swamp biome I was testing, so that seems like more evidence pointing to Alex's Mobs...

commented
commented

I am getting this same crash as well, and I am also using Alex's mobs.

Not too sure if you have an official bug tracker, but I am having a crash when entering a chunk that has a Valhelsia sructure and horses. Don't know if those have anything to do with the error or not. You can see two other posts on the internet with the same problem.

https://www.reddit.com/r/FeedTheBeastCrashes/comments/kldamu/crash_just_happened_shortly_after_i_started_a/

https://www.minecraftforum.net/forums/support/java-edition-support/3044318-crash-entering-specific-area

Here's the relevant portion of my crash report.

-- Head --
Thread: Server thread
Stacktrace:
at net.minecraft.entity.ai.goal.TemptGoal.(SourceFile:40) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:quark.mixins.json:TemptGoalMixin,pl:mixin:A}
at enemeez.simplefarming.entities.ai.MoreTemptation.(MoreTemptation.java:9) ~[?:1.16.4-1.3.5] {re:classloading}
at enemeez.simplefarming.events.TemptationTask.onEntitySpawn(TemptationTask.java:33) ~[?:1.16.4-1.3.5] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_403_TemptationTask_onEntitySpawn_EntityJoinWorldEvent.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$2121/1825536232.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}

My mod list:
Mod List:
QuarkOddities-1.16.3.jar |Quark Oddities |quarkoddities |1.16.3 |DONE |NOSIGNATURE
TrashSlot_1.16.3-12.2.1.jar |TrashSlot |trashslot |12.2.1 |DONE |NOSIGNATURE
spiders-2.0-1.16.4-1.0.4.jar |Spiders 2.0 |spiderstpo |1.0.4 |DONE |NOSIGNATURE
jei-1.16.4-7.6.1.65.jar |Just Enough Items |jei |7.6.1.65 |DONE |NOSIGNATURE
OptiForge-MC1.16.4-0.4.6.jar |OptiForge |optiforge |0.4.6 |DONE |NOSIGNATURE
abnormals_core-1.16.4-3.0.6.jar |Abnormals Core |abnormals_core |3.0.6 |DONE |NOSIGNATURE
buzzier_bees-1.16.4-3.0.0.jar |Buzzier Bees |buzzier_bees |3.0.0 |DONE |NOSIGNATURE
no-nitwits-1.16.4-1.0.0.jar |No Nitwits |no_nitwits |1.0.0 |DONE |NOSIGNATURE
rad-1.16-4.1.0.jar |Reload Audio Driver |rad |4.1.0 |DONE |NOSIGNATURE
borderless-1.16.4-1.1.0.jar |Borderless Window |borderless |1.16.4-1.1.0 |DONE |NOSIGNATURE
caelus-forge-1.16.4-2.1.0.2.jar |Caelus API |caelus |1.16.4-2.1.0.2 |DONE |NOSIGNATURE
torohealth-1.16.4-forge-4.jar |ToroHealth |torohealth |NONE |DONE |NOSIGNATURE
invtweaks-1.16.4-1.0.1.jar |Inventory Tweaks Renewed |invtweaks |1.16.4-1.0.1 |DONE |NOSIGNATURE
BetterCaves-Forge-1.16.4-1.1.1.jar |YUNG's Better Caves |bettercaves |1.16.4-1.1.1 |DONE |NOSIGNATURE
Waystones_1.16.3-7.3.1.jar |Waystones |waystones |7.3.1 |DONE |NOSIGNATURE
PassableFoliage-1.16.4-2.2.0.jar |Passable Foliage |passablefoliage |2.2.0 |DONE |NOSIGNATURE
XaerosWorldMap_1.11.8_Forge_1.16.4.jar |Xaero's World Map |xaeroworldmap |1.11.8 |DONE |NOSIGNATURE
Placebo-1.16.3-4.3.3.jar |Placebo |placebo |4.3.3 |DONE |NOSIGNATURE
citadel-1.5.3.jar |Citadel |citadel |1.5.3 |DONE |NOSIGNATURE
alexsmobs-1.4.0.jar |Alex's Mobs |alexsmobs |1.4.0 |DONE |NOSIGNATURE
NaturesCompass-1.16.4-1.8.6.jar |Nature's Compass |naturescompass |1.16.4-1.8.6 |DONE |NOSIGNATURE
YungsApi-1.16.4-Forge-3.jar |YUNG's API |yungsapi |1.16.4-Forge-3 |DONE |NOSIGNATURE
OuterEnd-0.2.3.jar |Outer End |outer_end |0.2.0 |DONE |NOSIGNATURE
ftb-gui-library-1604.1.1.26.jar |FTB GUI Library |ftbguilibrary |1604.1.1.26 |DONE |NOSIGNATURE
DungeonCrawl-1.16.3-2.2.4.jar |Dungeon Crawl |dungeoncrawl |2.2.4 |DONE |NOSIGNATURE
betteranimalsplus-1.16.4-10.1.0.jar |Better Animals Plus |betteranimalsplus |10.1.0 |DONE |NOSIGNATURE
randompatches-2.1.5-forge.jar |RandomPatches |randompatches |2.1.5-forge |DONE |92:f6:29:d4:09:89:f5:f5:98:5e:20:34:31:d0:7b:58:22:06:bd:a5:d1:6a:92:6e:ac:3d:8d:18:c5:b2:5b:d7
Hwyla-forge-1.10.11-B78_1.16.2.jar |Waila |waila |1.10.11-B78_1.16.2 |DONE |NOSIGNATURE
traverse-1.16.4-0.4.3.8.jar |Traverse: Reforged |traverse |1.16.4-0.4.3.8 |DONE |NOSIGNATURE
carryon-1.16.3-1.15.1.7.jar |Carry On |carryon |1.15.1.7 |DONE |8c:03:ac:7d:21:62:65:e2:83:91:f3:22:57:99:ed:75:78:1e:db:de:03:99:ef:53:3b:59:95:18:01:bc:84:a9
forge-1.16.4-35.1.37-universal.jar |Forge |forge |35.1.37 |DONE |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
Waddles-1.16.4-0.8.11.jar |Waddles |waddles |1.16.4-0.8.11 |DONE |NOSIGNATURE
betterendforge-1.16.4-1.3.0.jar |BetterEnd Forge |betterendforge |1.16.4-1.3.0 |DONE |NOSIGNATURE
DynamicSurroundings-1.16.4-4.0.3.3.jar |§3Dynamic Surroundings |dsurround |1.16.4-4.0.3.3 |DONE |b4:98:14:b9:76:55:25:4f:e5:5f:4d:71:90:87:43:5b:f9:d5:3a:02:60:42:5e:da:1f:15:9c:ff:be:a9:7c:77
dash-1.16.4-1.0.1.jar |Dash |dash |1.0.1 |DONE |NOSIGNATURE
structure-gel-api-1.16.4-1.7.2.jar |Structure Gel API |structure_gel |1.7.2 |DONE |NOSIGNATURE
forge-1.16.4-35.1.37-client.jar |Minecraft |minecraft |1.16.4 |DONE |NOSIGNATURE
swingthroughgrass-1.16.4-1.5.3.jar |SwingThroughGrass |swingthroughgrass |1.16.4-1.5.3 |DONE |NOSIGNATURE
ToolBelt-1.16.3-1.15.2.jar |Tool Belt |toolbelt |1.15.2 |DONE |NOSIGNATURE
EndRemastered-1.4.jar |End Remastered v1.4 |endrem |1.16.3 |DONE |NOSIGNATURE
valhelsia_structures-16.0.5.jar |Valhelsia Structures |valhelsia_structures |16.0.5 |DONE |NOSIGNATURE
dungeons-plus-1.16.4-1.1.0.jar |Dungeons Plus |dungeons_plus |1.1.0 |DONE |NOSIGNATURE
extcaves-2.4.jar |Extended Caves |extcaves |2.4 |DONE |NOSIGNATURE
simplefarming-1.16.4-1.3.5.jar |Simple Farming |simplefarming |1.16.4-1.3.5 |DONE |NOSIGNATURE
ChickenChunks-1.16.4-2.7.0.85-universal.jar |ChickenChunks |chickenchunks |2.7.0.85 |DONE |31:e6:db:63:47:4a:6e:e0:0a:2c:11:d1:76:db:4e:82:ff:56:2d:29:93:d2:e5:02:bd:d3:bd:9d:27:47:a5:71
curios-forge-1.16.4-4.0.3.5.jar |Curios API |curios |1.16.4-4.0.3.5 |DONE |NOSIGNATURE
savageandravage-1.16.4-3.0.0.jar |Savage & Ravage |savageandravage |3.0.0 |DONE |NOSIGNATURE
Xaeros_Minimap_21.1.0_Forge_1.16.4.jar |Xaero's Minimap |xaerominimap |21.1.0 |DONE |NOSIGNATURE
leap-1.16.4-1.0.1.jar |Leap |leap |1.0.1 |DONE |NOSIGNATURE
polymorph-forge-1.16.4-0.22.jar |Polymorph |polymorph |1.16.4-0.22 |DONE |NOSIGNATURE
AutoRegLib-1.6-47.jar |AutoRegLib |autoreglib |1.6-47 |DONE |NOSIGNATURE
Quark-r2.4-290.jar |Quark |quark |r2.4-290 |DONE |NOSIGNATURE
betteranimals-1.16.4-5.4.1.jar |Cyber's Better Animal Models |betteranimals |5.4.1 |DONE |NOSIGNATURE
performant-1.16.2-4-3.30m.jar |Performant |performant |3.30m |DONE |NOSIGNATURE
FastFurnace-1.16.3-4.3.0.jar |FastFurnace |fastfurnace |4.3.0 |DONE |NOSIGNATURE
hunterillager-1.16.4-1.2.0.jar |HunterIllager |hunterillager |1.16.4-1.2.0 |DONE |NOSIGNATURE
curiouselytra-forge-1.16.3-4.0.0.1.jar |Curious Elytra |curiouselytra |1.16.3-4.0.0.1 |DONE |NOSIGNATURE
AI-Improvements-1.16.2-0.3.0.jar |AI-Improvements |aiimprovements |0.3.0 |DONE |NOSIGNATURE
Aquaculture-1.16.4-2.1.12.jar |Aquaculture 2 |aquaculture |1.16.4-2.1.12 |DONE |NOSIGNATURE
switchbow-1.7.jar |Switch-Bow |switchbow |1.7 |DONE |NOSIGNATURE
FastLeafDecay-v25.jar |FastLeafDecay |fastleafdecay |v25 |DONE |NOSIGNATURE
Disenchanting-forge_1.16.3-1.6.0-alpha.jar |Disenchanting |disenchanting |1.6.0 |DONE |NOSIGNATURE
CodeChickenLib-1.16.4-3.5.0.401-universal.jar |CodeChicken Lib |codechickenlib |3.5.0.401 |DONE |31:e6:db:63:47:4a:6e:e0:0a:2c:11:d1:76:db:4e:82:ff:56:2d:29:93:d2:e5:02:bd:d3:bd:9d:27:47:a5:71
BetterMineshafts-Forge-1.16.4-2.0.jar |YUNG's Better Mineshafts |bettermineshafts |1.16.4-2.0 |DONE |NOSIGNATURE

commented

@wchen1990

I tried your PR fix in 1.16 but I still get the error in the same place. It happens both when using the existing world where it crashes right away because I am in the chunk with the faulty mob, and also in my backup when I go to the chunk where it occurs.

commented

although it was happening for me when approaching a Valhesia structure I don't believe it adds new mobs (it was a tower with spawners) removing alexs mobs allowed me to approach the structure without crashing whereas it was crashing 100% of the time I approached before, OP doesn't seem to have Valhesia structures.

commented

@stevojhall

The difficulty I am having is that I can't reproduce the bug now, and using wchen1990's PR fix didn't have an effect when I could.

The problem is that I don't see anywhere in Alex's mobs where he inherits from or defines a PigEntity, ChickenEntity, CowEntity, or SheepEntity, which is what would be required for the instanceOf check to be matched and the temptation goal to be added.

The only way this could be happening with Alex's mobs is if registering your animal entity with Forge somehow causes it to be casted to one of these types for it's internal purposes for interoperability among mods. For instance, if for compatability purposes with another mod it made sense to make it think your mob was a PigEntity. The thing is, this is purely conjecture and I don't think Forge does this, unless it's doing some kind of dependency injection with the interfaces, which I also don't believe it is doing either.

So, if Alex's mobs is causing this problem, I don't know how since the code that is causing it requires one of those 4 entities to be spawned.

EDIT:
Oh and also, how do you know it's simply not spawning a different entity now instead of another one, thus no longer causing the error?

In my instance, it is in a Sunflower Biome. For Alex's mobs that would be hummingbirds. However, I have seen hummingbirds before multiple times without experiencing the bug. Is there anything else that spawns which is unique to Sunfllower Biome's?

commented

@coderepo8593 Funny you mention Alex's Mobs, since that's exactly the thing that prompted to make my PR.

I'm a bit surprised that when you checked out and built my branch it didn't solve the issue for you. Are you sure you were using the correct jar when you built my branch? Even if you did use my branch you would at least get a different line number in the crash report.

The only other possibility I can see is if the entity that it was trying to cast was null and that's where the null pointer exception came from.

As an aside, I also tried to see what it was that Alex's Mob was doing that could've caused this and I couldn't find anything as well.

Edit: In my cause the thing that was crashing me was a SheepEntity, and when the chunk finally loaded after my fix there was in fact a Sheep there. I guess another possibility would be that when adding the AI the entity hasn't had a navigator instantiated yet? But, I'm not sure how plausible that is since I haven't actually checked.

commented

@wchen1990 I think you are correct that I could have used the wrong jar. So far I have done a few more test runs and it only happens on the jar without your fix. However, I haven't been able to reliably reproduce the error.

EDIT: Yeah, the problem with blaming Alex's mobs is that nearly everyone is going to have it in their modlist. So it is could be purely coincidental that everyone who has posted their logs online has it installed.

commented

Mhh i have that crash too (Enigmatica 6 Pack) Where can i get this fix thats mentioned here...a PR Fix from you @wchen1990 ?
I was unable to get back in my world...have disable for testing the Simple Farming Mod And then i could load the world. but i will load it back in

commented

@Darianna77 you can checkout my PR (#139) for simplefarming and use it to build a jar. If you don't know how to you can find the resources online pretty easily, but essentially you need to have the Java JDK installed and then in the directory you have all of the source files you just run gradle build.

Hopefully, @cweckerl will merge the PR and make a release so that it'll be easier for people to just get the latest version with the fix.

commented

@Darianna77

PR fix to restrict by ground and flying navigator

Here is a link to the jar file that I built. Hopefully we can get some more people testing this.

commented

same problem here i can not load it

commented

Any updates on a fix for this issue?

commented

The build from @coderepo8593 fixes the problem for me

commented

The build from @coderepo8593 fixes the problem for me

Same, that jar does seem to fix the issue though I don't see the PR he's talking about but it'd be nice if it was added to the main mod at some point.

commented

The build from @coderepo8593 fixes the problem for me

Same, that jar does seem to fix the issue though I don't see the PR he's talking about but it'd be nice if it was added to the main mod at some point.

The merge request is here: #139

commented

The issue here comes from the fact that getNavigator() returns the Navigator of the MobEntity being ridden if there is one. In TemptGoal's constructor it calls getNavigator() and ends up checking the Navigator of the ridden entity instead of the entity passed into the constructor.

In my case I was using a different mod that adds TemptGoal subclasses in a similar way in the EntityJoinWorldEvent. Alex's Mobs was causing the crash to happen, but it's not to blame for the crash. Crocodiles force entities to ride them when they attack them and they have a custom SemiAquaticPathNavigator when in water. I found that a pig riding the crocodile was causing my crash. Presumably, the chunk got unloaded before the crocodile managed to kill the pig and then whenever the chunk got loaded again it crashed the server.