mojira.dev
MC-124529

'/execute store' doesn't support string values

If I try to use /execute store result|success block|entity x y z path, the type String can't be used.

problematic for doing stuff like:
/execute store result entity @e[name=target,limit=1] CustomName *string* run data get entity @e[name=getfrom,limit=1] CustomName (Storing an entity's name in another entity)
and
/execute store result block x y z Command string run data get block 221 4 -166 Text2 (Taking text from a sign and putting it in a command block)

Comments 1

This is sadly likely intended. If I understand it correctly currently everything is converted to an integer before it is returned as result or success.

Eran G

Nathan Adams

Confirmed

Minecraft 18w03b

Retrieved