Mojira Archive
MC-123750

/execute store result can't apply to NBT values bigger than 10 as double

Scoreboard values aren't parsed to double if result with multiplier is bigger than 10.
For example command:

/execute store result entity @e[type=arrow,limit=1] Motion[1] double 0.001 run scoreboard players get @p pos1y

will not work when pos1y is bigger than 1000 even when Motion over 10 is availible (pos1y=1230 should be parsed and inserted to Motion[1] as 1.23e+1 instead it tries to place 12.3 as double and fails).

Why this is important: It's extremaly useful for raytracing with high Motion arrows.

Invalid

[Helper] MichaƂ

2018-01-02, 08:33 PM

2018-01-02, 09:34 PM

2018-01-02, 08:34 PM

0

1

Unconfirmed

Minecraft 17w50a

-