Mojira Archive
MC-144469

Replacing same block at location will cause animation to stop/stuck and can crash if using other block type

The bug

When breaking a chest while it is in the closing animation and place and placing one there again, the animation is stuck (like half-open). When placing a normal block where the chest was before, the game crashes.

How to reproduce

Place a chest, open it.
Now, quickly break the chest and place a new one.
Uses the old model of the previous chest (open state)

Notes

  • Works with chests, trapped chests, ender chests, spawners, campfires, enchantment tables, shulker boxes, and signs (may be incomplete).
  • Re-entering the world fixes the problem.
  • When replacing the chest with a trapped chest, it doesn't crash and it shows the animation of the chest instead of the trapped chest(chest and trapped chest interchangeable, but not chest to shulkerbox)
  • Placing the chest in a different direction will result the animation facing that way too
  • When connected to an double chest, the whole chest is stuck in the animation (directional)
  • When destroying and placing a sign at the same spot, the sign contains the text of the sign that was destroyed previously

Crash

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 2/20/19 4:41 PM
Description: Rendering Block Entity

java.lang.IllegalArgumentException: Cannot get property bry{name=facing, clazz=class ex, values=[north, south, west, east]} as it does not exist in Block{minecraft:barrel}
	at brc.c(SourceFile:95)
	at dik.a(SourceFile:71)
	at dih.a(SourceFile:155)
	at dih.a(SourceFile:135)
	at dgk.a(SourceFile:666)
	at dgg.b(SourceFile:956)
	at dgg.a(SourceFile:865)
	at dgg.a(SourceFile:725)
	at cqw.d(SourceFile:950)
	at cqw.b(SourceFile:412)
	at net.minecraft.client.main.Main.main(SourceFile:154)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at brc.c(SourceFile:95)
	at dik.a(SourceFile:71)

-- Block Entity Details --
Details:
	Name: minecraft:chest // bpk
	Block: Block{minecraft:barrel}[facing=north,open=false]
	Block location: World: (-132,64,-148), Chunk: (at 12,4,12 in -9,-10; contains blocks -144,0,-160 to -129,255,-145), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Block: Block{minecraft:barrel}[facing=north,open=false]
	Block location: World: (-132,64,-148), Chunk: (at 12,4,12 in -9,-10; contains blocks -144,0,-160 to -129,255,-145), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Stacktrace:
	at dih.a(SourceFile:155)
	at dih.a(SourceFile:135)
	at dgk.a(SourceFile:666)
	at dgg.b(SourceFile:956)
	at dgg.a(SourceFile:865)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [dft[''/335, l='MpServer', x=-131.39, y=64.00, z=-149.75]]
	Chunk stats: MultiplayerChunkCache: 441, 342
	Level seed: 0
	Level generator: ID 00 - default, ver 1. Features enabled: false
	Level generator options: {}
	Level spawn location: World: (-141,63,-127), Chunk: (at 3,3,1 in -9,-8; contains blocks -144,0,-128 to -129,255,-113), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
	Level time: 4037702 game time, 6000 day time
	Level dimension: 0
	Level storage version: 0x00000 - Unknown?
	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Server brand: vanilla
	Server type: Integrated singleplayer server
Stacktrace:
	at ddi.a(SourceFile:449)
	at cqw.b(SourceFile:1919)
	at cqw.b(SourceFile:420)
	at net.minecraft.client.main.Main.main(SourceFile:154)

-- System Details --
Details:
	Minecraft Version: 19w08a
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 558086024 bytes (532 MB) / 1040265216 bytes (992 MB) up to 1060372480 bytes (1011 MB)
	JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
	Launched Version: 19w08a
	LWJGL: 3.2.1 build 12
	OpenGL: GeForce 210/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Probably not. Jar signature remains and client brand is untouched.
	Type: Client (map_client.txt)
	Resource Packs: vanilla
	Current Language: English (US)
	CPU: 6x AMD Phenom(tm) II X6 1045T Processor

Fixed

KEOEL

2019-02-20, 06:50 PM

2019-02-22, 03:38 AM

2019-02-21, 02:15 PM

6

4

Confirmed

Minecraft 19w08a

Minecraft 19w08b