Mojang Code

Used Mojang code to build an array based command,
failed.