When changing a painting's "motive" via a /data command, the texture remains the same until you leave and reenter a world.
To Reproduce:
Place a painting (Assume "kebab" for the sake of example)
Change it to an "aztec"
/data merge entity @e[type=painting,limit=1] {Motive:"minecraft:aztec"}
Note the console will tell you the NBT data has been updated, but it still displays as a "kebab".
Neither a reload of chunks (F3+A) or textures (F3+T) will rectify the issue.
Leave and reenter your world, the painting will now display as an "aztec"
Comments 3
I am unsure if this is a duplicate of MC-81870. Can confirm in 1.18 Pre-release 1.
Can confirm in 1.17.1.