Page 76 - Touchcode_C7_Flipbook
P. 76
To add an element in an array
You can add an element in an array in minecraft, by using the following blocks:
Blocks:
set array of: Use an equals sign to make
a variable store the number, string, or boolean.
execute: Executes a game command as the
current player. These are the slash commands (“/“)
in the chat window.
join: Add one text string to another to make one
bigger string.
array.length: Returns the number of values in an array.
get: Get a value from an array at a particular index.
Touchcode-VII
74 Touchcode-VII
74

