I am having some issues with crashing during tests of a data pack I'm working on. The crash report the game output gives me seems to suggest it has something to do with the new Drowned mob. Does anyone know whats going on?
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 3/21/18 3:44 PM
Description: Ticking entity
java.lang.ClassCastException: afn cannot be cast to afj
at adb.a(SourceFile:41)
at acz.a(SourceFile:22)
at adl.a(SourceFile:94)
at abw.cL(SourceFile:644)
at abv.l(SourceFile:1895)
at abw.l(SourceFile:504)
at ajs.l(SourceFile:33)
at aki.l(SourceFile:257)
at abv.S_(SourceFile:1750)
at abw.S_(SourceFile:284)
at ajs.S_(SourceFile:38)
at aki.S_(SourceFile:232)
at ajg.S_(SourceFile:252)
at aug.a(SourceFile:1617)
at se.a(SourceFile:705)
at aug.h(SourceFile:1593)
at aug.p_(SourceFile:1475)
at se.p_(SourceFile:538)
at net.minecraft.server.MinecraftServer.w(SourceFile:702)
at net.minecraft.server.MinecraftServer.v(SourceFile:627)
at czd.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:532)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at adb.a(SourceFile:41)
at acz.a(SourceFile:22)
at adl.a(SourceFile:94)
at abw.cL(SourceFile:644)
at abv.l(SourceFile:1895)
at abw.l(SourceFile:504)
at ajs.l(SourceFile:33)
at aki.l(SourceFile:257)
at abv.S_(SourceFile:1750)
at abw.S_(SourceFile:284)
at ajs.S_(SourceFile:38)
at aki.S_(SourceFile:232)
at ajg.S_(SourceFile:252)
at aug.a(SourceFile:1617)
at se.a(SourceFile:705)
at aug.h(SourceFile:1593)
-- Entity being ticked --
Details:
Entity Type: minecraft:drowned (ajg)
Entity ID: 24
Entity Name: Drowned
Entity's Exact location: 26.70, 15.10, 24.06
Entity's Block location: World: (26,15,24), Chunk: (at 10,0,8 in 1,1; contains blocks 16,0,16 to 31,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, 0.00, -0.07
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at aug.p_(SourceFile:1475)
at se.p_(SourceFile:538)
-- Affected level --
Details:
Level name: New World
All players: 0 total; []
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: -5846744423200083327
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (7,10,8), Chunk: (at 7,0,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 495851 game time, 495851 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 123346 (now: false), thunder time: 94356 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.w(SourceFile:702)
at net.minecraft.server.MinecraftServer.v(SourceFile:627)
at czd.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:532)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 18w11a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 124862648 bytes (119 MB) / 285212672 bytes (272 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Data Packs: vanilla, file/skyblocktestpack (incompatible)
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\lukeh\AppData\Roaming\.minecraft\crash-reports\crash-2018-03-21_15.44.46-server.txt
<log4j:Event logger="net.minecraft.server.MinecraftServer" timestamp="1521661487111" level="INFO" thread="Client Shutdown Thread">
<log4j:Message><![CDATA[Stopping server]]></log4j:Message>
</log4j:Event>
The game currently crashes randomly when the Drowned Mob attempts to pathfind. It's not your datapack, it's an issue with the Drowned itself. Wait up a couple of weeks for them to fix it and you'll be able to get back to crafting
I am having some issues with crashing during tests of a data pack I'm working on. The crash report the game output gives me seems to suggest it has something to do with the new Drowned mob. Does anyone know whats going on?
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 3/21/18 3:44 PM
Description: Ticking entity
java.lang.ClassCastException: afn cannot be cast to afj
at adb.a(SourceFile:41)
at acz.a(SourceFile:22)
at adl.a(SourceFile:94)
at abw.cL(SourceFile:644)
at abv.l(SourceFile:1895)
at abw.l(SourceFile:504)
at ajs.l(SourceFile:33)
at aki.l(SourceFile:257)
at abv.S_(SourceFile:1750)
at abw.S_(SourceFile:284)
at ajs.S_(SourceFile:38)
at aki.S_(SourceFile:232)
at ajg.S_(SourceFile:252)
at aug.a(SourceFile:1617)
at se.a(SourceFile:705)
at aug.h(SourceFile:1593)
at aug.p_(SourceFile:1475)
at se.p_(SourceFile:538)
at net.minecraft.server.MinecraftServer.w(SourceFile:702)
at net.minecraft.server.MinecraftServer.v(SourceFile:627)
at czd.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:532)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
at adb.a(SourceFile:41)
at acz.a(SourceFile:22)
at adl.a(SourceFile:94)
at abw.cL(SourceFile:644)
at abv.l(SourceFile:1895)
at abw.l(SourceFile:504)
at ajs.l(SourceFile:33)
at aki.l(SourceFile:257)
at abv.S_(SourceFile:1750)
at abw.S_(SourceFile:284)
at ajs.S_(SourceFile:38)
at aki.S_(SourceFile:232)
at ajg.S_(SourceFile:252)
at aug.a(SourceFile:1617)
at se.a(SourceFile:705)
at aug.h(SourceFile:1593)
-- Entity being ticked --
Details:
Entity Type: minecraft:drowned (ajg)
Entity ID: 24
Entity Name: Drowned
Entity's Exact location: 26.70, 15.10, 24.06
Entity's Block location: World: (26,15,24), Chunk: (at 10,0,8 in 1,1; contains blocks 16,0,16 to 31,255,31), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, 0.00, -0.07
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at aug.p_(SourceFile:1475)
at se.p_(SourceFile:538)
-- Affected level --
Details:
Level name: New World
All players: 0 total; []
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: -5846744423200083327
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (7,10,8), Chunk: (at 7,0,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 495851 game time, 495851 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 123346 (now: false), thunder time: 94356 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Stacktrace:
at net.minecraft.server.MinecraftServer.w(SourceFile:702)
at net.minecraft.server.MinecraftServer.v(SourceFile:627)
at czd.v(SourceFile:155)
at net.minecraft.server.MinecraftServer.run(SourceFile:532)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 18w11a
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 124862648 bytes (119 MB) / 285212672 bytes (272 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Data Packs: vanilla, file/skyblocktestpack (incompatible)
Type: Integrated Server (map_client.txt)
Is Modded: Probably not. Jar signature remains and both client + server brands are untouched.
#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\lukeh\AppData\Roaming\.minecraft\crash-reports\crash-2018-03-21_15.44.46-server.txt
<log4j:Event logger="net.minecraft.server.MinecraftServer" timestamp="1521661487111" level="INFO" thread="Client Shutdown Thread">
<log4j:Message><![CDATA[Stopping server]]></log4j:Message>
</log4j:Event>
The game currently crashes randomly when the Drowned Mob attempts to pathfind. It's not your datapack, it's an issue with the Drowned itself. Wait up a couple of weeks for them to fix it and you'll be able to get back to crafting
https://bugs.mojang.com/browse/MC-127242
Check out my Youtube channel, where I build a theme park in vanilla Minecraft!
https://www.youtube.com/playlist?list=PLeCiIIOoWhe-mq3nYd_nXXrKw9MkjnUU7
Thanks for the help!