Sign in
Skip to main content

Commands let players perform actions and customize gameplay using text-based instructions. Use this topic to share feedback and ideas for improving commands and related tools.

4

scoreboard value as an array index

1 Comments

Post a new comment:

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"}}]