mojira.dev
MC-229680

Chest, Trapped Chest, Ender Chest and Barrels stop functioning when moving far away whilst in the GUI

When moved out of range of a trapped chest while the interface is opened, reopening the chest doesn't emit a redstone signal and also doesn't display the opening animation. The only fix I've found is to completely replace the chest. This affects both survival and creative mode.

Reproduce (Creative Mode)

  • Create a contraption with a trapped chest activating some redstone

  • Fly by the trapped chest and open it while flying by it
    ✔ Notice the redstone activates

  • Leave the GUI and fly back to the trapped chest

  • Open the trapped chest
    ❌ Notice the trapped chest doesn't display an opening animation or emit a redstone pulse

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 20

I was unable to reproduce this in 1.17

I've found that being moved at least 6 blocks away from the chest reproduces this. I've used pistons to open the floor beneath me, using a boat to move away via flowing water, and simply just jumping and falling several blocks while interacting with the chest reproduces this bug.

@unknown Could you please provide a nbt-file (structure blocks)) with the full contraption, or a small worldsave download?

@unknown You can reproduce this with something as simple as e.g. this

[media]

If you're in Creative, just move away from the trapped chest quickly, and while doing so, open it.
When you get back, the wire (and thus the piston) isn't activating anymore if you open the trapped chest.

It doesn't reset properly, but that's been in the game since a while apparently.

Thanks @unknown for the help I was able to reproduce this it seems that the trapped chest doesn't display the opening animation as well along with it not emitting a redstone pulse. I've updated the report with reproduction steps and this information

10 more comments

Can confirm in 1.19.4

Can reproduce in 1.20.2

[media]

Can confirm fixed in 24w03b

Eduardo Gallardo

(Unassigned)

Confirmed

Platform

Normal

Player

1.17, 1.17.1, 21w37a, 21w40a, 1.18 Pre-release 1, ..., 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20.2, 1.20.4, 23w51b

24w03b

Retrieved