mojira.dev
MC-121834

Execute store command cannot apply to entity's motion

1. Add a scoreboard "/scoreboard objectives add test dummy"
2.Set the player's test score to 1 "/scoreboard players set @a test 1"
3.Summon a zombie
4.Type "/execute store result entity @e[type=zombie,limit=1] Motion[1] int 1 run scoreboard players get @p test" to make it fly

But the test scoreboard's value cannot apply to zombie's Motion

Comments 2

Motion values are not integers.

Motion values are not integers, but doubles.

jellywayne

(Unassigned)

Unconfirmed

Minecraft 17w45b

Retrieved