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

4

scoreboard value as an array index

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    One of my ideas could really benefit from this! I was attempting to make a loot randomizer using only vanilla commands.

    I think an appropriate way this could be implemented is similar to how we use scoreboard values in /tellraw:

    /data get block ~ ~ ~ Items[{"score":{"name":"x","objective":"index"}}]