The bug
If you set a player's spawn point angle to +-infinity (/spawnpoint @s ~ ~ ~ 999999999999999999999999999999999999999, it will show up as NaN in chat) and then let the player die, it will kick the player with an "Invalid move player packet received." Trying to rejoin the world will crash the game. This also permanently locks you out of your world.
Crash report
1.16.2: [^crash-2020-08-19_18.52.56-server.txt]
Description: Loading entity NBT
java.lang.IllegalStateException: Entity has invalid rotation
at apx.f(SourceFile:1626)
at acs.a(SourceFile:341)
at acs.a(SourceFile:138)
at aba.c(SourceFile:111)
at aba.b(SourceFile:63)
at nd.a(SourceFile:230)
at aax.c(SourceFile:173)
at net.minecraft.server.MinecraftServer.b(SourceFile:879)
at net.minecraft.server.MinecraftServer.a(SourceFile:808)
at emy.a(SourceFile:92)
at net.minecraft.server.MinecraftServer.w(SourceFile:667)
at net.minecraft.server.MinecraftServer.a(SourceFile:254)
at net.minecraft.server.MinecraftServer$$Lambda$4124/309256.run(Unknown Source)
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: Server thread
Stacktrace:
at apx.f(SourceFile:1626)
-- Entity being loaded --
Details:
Entity Type: minecraft:player (aah)
Entity ID: 57
Entity Name: ErrorCraft
Entity's Exact location: 95.50, 4.10, 115.50
Entity's Block location: World: (95,4,115), Chunk: (at 15,0,3 in 5,7; contains blocks 80,0,112 to 95,255,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at apx.f(SourceFile:1626)
at acs.a(SourceFile:341)
at acs.a(SourceFile:138)
at aba.c(SourceFile:111)
at aba.b(SourceFile:63)
at nd.a(SourceFile:230)
at aax.c(SourceFile:173)
at net.minecraft.server.MinecraftServer.b(SourceFile:879)
at net.minecraft.server.MinecraftServer.a(SourceFile:808)
at emy.a(SourceFile:92)
at net.minecraft.server.MinecraftServer.w(SourceFile:667)
at net.minecraft.server.MinecraftServer.a(SourceFile:254)
at net.minecraft.server.MinecraftServer$$Lambda$4124/309256.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)Description: Loading entity NBT
java.lang.IllegalStateException: Entity has invalid rotation
at apx.f(SourceFile:1626)
at acs.a(SourceFile:341)
at acs.a(SourceFile:138)
at aba.c(SourceFile:111)
at aba.b(SourceFile:63)
at nd.a(SourceFile:230)
at aax.c(SourceFile:173)
at net.minecraft.server.MinecraftServer.b(SourceFile:879)
at net.minecraft.server.MinecraftServer.a(SourceFile:808)
at emy.a(SourceFile:92)
at net.minecraft.server.MinecraftServer.w(SourceFile:667)
at net.minecraft.server.MinecraftServer.a(SourceFile:254)
at net.minecraft.server.MinecraftServer$$Lambda$4124/309256.run(Unknown Source)
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: Server thread
Stacktrace:
at apx.f(SourceFile:1626)
-- Entity being loaded --
Details:
Entity Type: minecraft:player (aah)
Entity ID: 57
Entity Name: ErrorCraft
Entity's Exact location: 95.50, 4.10, 115.50
Entity's Block location: World: (95,4,115), Chunk: (at 15,0,3 in 5,7; contains blocks 80,0,112 to 95,255,127), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at apx.f(SourceFile:1626)
at acs.a(SourceFile:341)
at acs.a(SourceFile:138)
at aba.c(SourceFile:111)
at aba.b(SourceFile:63)
at nd.a(SourceFile:230)
at aax.c(SourceFile:173)
at net.minecraft.server.MinecraftServer.b(SourceFile:879)
at net.minecraft.server.MinecraftServer.a(SourceFile:808)
at emy.a(SourceFile:92)
at net.minecraft.server.MinecraftServer.w(SourceFile:667)
at net.minecraft.server.MinecraftServer.a(SourceFile:254)
at net.minecraft.server.MinecraftServer$$Lambda$4124/309256.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)Attachments
Comments 4
One thing to note That attepting to rejoin that world after the crash will continue to crash the game and won't allow the player back into the world.
I can confirm for minecraft 1.16.2