We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

27

/data operation

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    This is something important to me also. Potentially incredibly useful, especially the modulus function for non-integer values

    examples:

    • data operation storage minecraft:test foo[0].bar %= value 1
    • data operation entity @s Pos[0] *= score @s objectivename
    • data operation block ~ ~ ~ Items[{Slot:0b}].Count -= data entity @s Age
  • 0
    Registered User commented
    Comment actions Permalink

    Yes this would be amazing, but we already have /scoreboard player operation, meaning if you used execute's storage sub command, with score, and /data get, you could make the same effect if you used /data modify to set it from something.