for example, i have selected the item "<item>{<array>:[a,b,c]}" and a scoreboard "index". I use the scoreboard instead of a number in the command "/data get entity @p SelectedItem.tag.<array>[index]"
this can be really useful and optimize a lot the tag arrays
Please sign in to leave a comment.
1 Comments