mojira.dev
MC-81870

Editing entitydata of Painting does not reflect ingame until chunk reload

How to reproduce

  1. Put painting on wall

  2. Run this command:

    /data merge entity @e[type=minecraft:painting,limit=1] {Motive:"Kebab"}

    → See the painting doesn't change (if it was 1 × 1 size) or turns invisible (if it was bigger)

Attachments

Comments 13

I could not reproduce this bug with the first command (setting the painting to invulnerable).

With the second command (changing the motive of the painting) the bug was reproducable BUT ONLY when the size of the original motive and the new target motive are different! For example in the screenshot above the Motive 'SkullAndRoses' can be seen, wich is a 2x2 block motive. When you try to set the Motive to 'Kebab' - wich is a 1x1 block motive - using the given command, the painting will turn invisible. A relog / re-entering the chunks will update the painting, turn it visible again and display the Motive specified in the command. The size of the painting will be adjusted accordingly.

If both original and target motive size are identical, the painting will not turn invisible. After setting a new motive it will, however, still display the original motive until the player relogs / re-enters the chunks.

==> The painting doesn't ever truly get turned invisible. Clients, however, are not immediately able to see changes made to a painting's entitydata (in regards to its motive, primarily) using commands, and the client will fail to render the painting completely, if the size of painting changes abruptly due to a new motive - until the client relogs / re-enters the chunks.

I hope this clarifies what the issue actually is.

All tests were done using MC version 'release 1.8.7'

Confirmed for 16w06a
Also some paintings are moving when changed.

Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.

This is an automated comment on any open or reopened issue with out-of-date affected versions.

Can confirm for MC 1.12.1.

3 more comments

Can confirm in 20w48a.

Can confirm in 20w51a.

Can confirm in 21w05b.

Can confirm in 21w37a.

Can confirm in 1.18 Pre-release 1.

McDic

boq

Confirmed

Low

Commands

Minecraft 1.8.7, Minecraft 16w06a, Minecraft 1.10.2, Minecraft 16w35a, Minecraft 16w43a, ..., 1.18 Release Candidate 3, 1.18, 1.18.1 Release Candidate 1, 22w06a, 22w14a

22w16a

Retrieved