execute store with scoreboard to data doens't work properly
If you store the score of an entity into its Pos data it won't update properly. If you run /setblock at the entity it will put the block at the position you stored from the score but the armorstand will visually stay at its non-updated position for 30 - 60 seconds. Then instantly snaps to its new position.
Here a video of the bug: https://www.youtube.com/watch?v=D-0ICNyf2II
How to replicate:
First create a scoreboard called "bug.y". Then you need to setup a Datapack or a Chain Commandblock contraption. Now put the following Commands in that specific order into the Datapack/Chain Commandblock Contraption.
1. summon armor_stand ~ ~1 ~
{NoGravity:1b,Marker:1b,Invisible:1b,Tags:["bug_tester"]}2. scoreboard players set @e[type=minecraft:armor_stand,tag=bug_tester] bug.y 60
3. execute as @e[type=minecraft:armor_stand,tag=bug_tester] store result entity @s Pos[1] double 1 run scoreboard players get @s bug.y
2021-03-30, 02:27 PM
2021-11-20, 08:48 AM
2021-11-20, 08:43 AM
0
1
command, command-block, command-block-bug, datapack, entities, entity, location, position
-