mojira.dev
MC-219906

Minecraft crashes when spectating an entity submerged in water

The bug

When in spectator, you can right click entities to go into the entity and see from the entity's perspective. When right clicking an entity to spectate it underwater, you may see the perspective for a second, and then the client crashes. This is repeatable and consistent.

Stack trace

21w11a: [^crash-2021-03-17_14.52.43-client.txt]

Description: Unexpected error

java.lang.ClassCastException: bdn cannot be cast to ejb
	at ejy.a(SourceFile:200)
	at eke.a(SourceFile:1130)
	at ejz.a(SourceFile:949)
	at ejz.a(SourceFile:767)
	at dsp.e(SourceFile:1073)
	at dsp.e(SourceFile:700)
	at net.minecraft.client.main.Main.main(SourceFile:216)

Linked issues

Attachments

Comments 5

According to MC-219908, this only happens when the axolotl is in water.

i included an edit of the in water part

Also some times it needs to be in regen mode it can happen on land also but in regen mode only.

It seems that this isn't exclusive to just the axolotl when spectating a mob that is submerged underwater the game crashes (ex. spectate a dolphin underwater). Updated the report to reflect this.

jose soto

Felix Jones

Confirmed

Very Important

Crash

21w11a

21w13a

Retrieved