
Spawning Apothic Elite mobs crashes in Craftoria 1.11.0
James103 opened this issue ยท 3 comments
Several people have encountered crashes when Apothic Elite mobs (not bosses) naturally spawn in their worlds or servers.
Some of the crashes may be related to Twilight Forest compatibility.
I hope the attached/linked crash reports and crash report screenshots hope narrow down the cause.
All of them came from various people on the All of Everything Discord server; none of them are mine as I have not yet experienced any crashes or been to the Twilight Forest in Craftoria 1.11.0.
The crash reports all share the same exception message: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because the return value of "dev.shadowsoffire.apotheosis.mobs.registries.EliteRegistry.getKey(dev.shadowsoffire.placebo.codec.CodecProvider)" is null
Specifically, it is this line in trySpawnElite()
which is crashing with the above exception message:
https://discord.com/channels/570630340075454474/1323014167892070522/1323014230844117013
https://discord.com/channels/570630340075454474/1322952028103905341/1322952028103905341
(open links to view crash screenshots)
crash-2024-12-28_20.04.55-server.txt
crash-2024-12-29_18.01.34-server.txt
crash-2024-12-30_00.27.04-server.txt
A workaround is being applied for now by Craftoria developers (in TeamAOF/Craftoria@19cde2c); this workaround will disable Apothic Elite mobs from spawning starting in Craftoria 1.11.1.
I am getting the same or Similar issue in ATM 10. The line from the log where it shows that the crash happened at is the same as mentioned above!
I just got a similar crash myself while exploring at night in the Overworld: crash-2024-12-30_03.10.56-server.txt
Did anyone else crash with the same error while exploring or fighting mobs in the Nether, the End, or other dimensions beside the Overworld?
While more descriptive, same issue as #1423
Strangely, the crashes only really started happening to me when I had the last tier enabled, but could be just coincidence.