-
Bug
-
Resolution: Duplicate
-
None
-
1.21
-
None
-
Unconfirmed
-
Commands, Entities
Issue can be seen in the video. Long story short, entities don't update their nbt data properly after they were modified using the "data" command. I was using item frame with item as sort of a menu for changing values (direction, game, ext.) of arcade machine, since it can be both right clicked and left clicked. I was not spawning new item frames. I was only using data modify on one item frame. I modified "Facing" nbt data, but the position of item was off. I checked its nbt data again using "data get", but there wasn't anything wrong. When I reloaded the world, it looked as it should.
Update #1:
I was asked to provide commands necessary for reproducing this bug. I recommend using command "/data modify entity <entity> Facing set value 5b" on item frame with nbt data"Facing 1b". After using this command on item frame, it should change position (at least visually). Reloading world should fix it.
Update #2:
I was asked if there are any other entities affected by this bug. I haven't tested it with many entities, but another example would be item display entity. However, I am not sure if this is bug or a feature. I used command similiar to this one in my datapack multiple times: "execute as <entity> <path> run execute as @s at @s run execute store result data entity @s <path> run execute if data entity @s <data> run return 1". The first command worked in the mcfunction file, but others were ignored (others with the "return <something>"). I am not sure if it is intended for command "return" work only once per tick or if it is a bug which makes only one "return" command work.
- duplicates
-
MC-181110 Item frame hitboxes do not update when the Facing tag is modified
- Resolved