I was testing with the /setblock command and when I pressed tab I noticed that the locked chest was listed. I spawned it, but the game crashed. This also rendered my world impossible to open before removing the locked chest with a 3rd party program.
Linked issues
Attachments
Comments 6
This is not a duplicate of MC-12984. MC-12984 happens when your head is inside a locked chest, because the game incorrectly tries loading its nonexistent texture for the suffocation overlay.
This bug occurs without the need to ever shove the thing on your head - it happens when spawning the block with /setblock. I think this should be reopened.
No, the block is placeable without crash, see recent screenshots.
It crashes only if the block is spawned at ~ ~1 ~
.
Description: Unexpected error
java.lang.NullPointerException
at bde.a(SourceFile:501)
at bde.b(SourceFile:462)
at bcz.b(SourceFile:463)
at bcz.a(SourceFile:923)
This
Description: Unexpected error
java.lang.NullPointerException
at bic.a(SourceFile:509)
at bic.b(SourceFile:467)
at bhx.b(SourceFile:476)
at bhx.a(SourceFile:939)
Don't know if OP did that deliberately or accidently, but that was (at least for me) the only way to trigger the crash...
But, you wrote:
This bug occurs without the need to ever shove the thing on your head - it happens when spawning the block with /setblock. I think this should be reopened.
Can you provide a command to trigger that crash with other parameters as ~ ~1 ~ ?
Can confirm crash with
/setblock ~ ~1 ~ 95
.When issuing
/setblock ~ ~ ~ 95
the block gets placed, see attachment.