BlueHens CTF 2021: Minecraft: Mixed Columns

This is from the BlueHensCTF 2021.

For this challenge, We are given the following information and links:

Here is the mc86 Intro:

Here is the mc86 InitCode:

/give @p minecraft:written_book{title:"Init CPU",author:"UD Cyberscholars",generation:0,pages:[
"{\"text\":\"Click Here First\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Creating RAM\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~1 ~ ~ minecraft:lime_shulker_box\"},
\"extra\":[
{\"text\":\"Click Here Second\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~1 ~ minecraft:command_block[facing=up]{powered:0b,Command:\\\"setblock ~ ~-1 ~ air\\\"}\"}},
{\"text\":\"Click Here Third\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~2 ~ minecraft:chain_command_block[facing=up]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"execute if data block ~-1 ~-2 ~ Items[0].tag.pages[0] run setblock ~ ~-2 ~ redstone_block\\\"}\"}},
{\"text\":\"Click Here Fourth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~ ~ minecraft:command_block[facing=east]{powered:0b,Command:\\\"data modify block ~2 ~ ~ Command set from block ~-2 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Fifth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~4 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"data remove block ~-3 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Sixth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Placing ALU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~5 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b}\"}}]}"]} 1

Finally, here is the challenge source code:

/give @p writable_book{pages:["/clone ~-4 ~ ~ ~ ~2 ~ ~-4 ~ ~2","/clone ~-4 ~ ~ ~ ~2 ~ ~-4 ~ ~4","/clone ~-4 ~ ~ ~ ~2 ~ ~-4 ~ ~6","/clone ~-4 ~ ~ ~ ~2 ~ ~-4 ~ ~8","/clone ~-4 ~ ~ ~ ~2 ~ ~-4 ~ ~10","/clone ~-4 ~ ~ ~ ~2 ~ ~-4 ~ ~12", "/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ yellow_banner[rotation=4]{Patterns:[{Pattern:\\\"cbo\\\",Color:11},{Pattern:\\\"vhr\\\",Color:11},{Pattern:\\\"bo\\\",Color:11},{Pattern:\\\"mr\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bo\\\",Color:4},{Pattern:\\\"rud\\\",Color:11},{Pattern:\\\"ld\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"mr\\\",Color:11},{Pattern:\\\"drs\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\"]}","/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"dls\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"mr\\\",Color:11},{Pattern:\\\"drs\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"ms\\\",Color:11},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ yellow_banner[rotation=4]{Patterns:[{Pattern:\\\"cbo\\\",Color:11},{Pattern:\\\"vh\\\",Color:11},{Pattern:\\\"mr\\\",Color:11}]} destroy\"]}","/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"ms\\\",Color:11},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"tt\\\",Color:11},{Pattern:\\\"drs\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"dls\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\"]}","/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ms\\\",Color:4},{Pattern:\\\"rs\\\",Color:11},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"hhb\\\",Color:11},{Pattern:\\\"ms\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"ms\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"tt\\\",Color:11},{Pattern:\\\"drs\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\"]}","/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"cbo\\\",Color:11},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"hhb\\\",Color:11},{Pattern:\\\"ms\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bo\\\",Color:4},{Pattern:\\\"rud\\\",Color:11},{Pattern:\\\"ld\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\"]}","/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"cs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"mr\\\",Color:11},{Pattern:\\\"drs\\\",Color:4},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ yellow_banner[rotation=4]{Patterns:[{Pattern:\\\"ts\\\",Color:11},{Pattern:\\\"bs\\\",Color:11},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"tt\\\",Color:4},{Pattern:\\\"tts\\\",Color:11},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\"]}","/give @p writable_book{pages:[\"/setblock ~5 ~13 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~10 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"hh\\\",Color:4},{Pattern:\\\"cs\\\",Color:11},{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"drs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~7 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"ms\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\",\"/setblock ~5 ~4 ~ blue_banner[rotation=4]{Patterns:[{Pattern:\\\"ts\\\",Color:4},{Pattern:\\\"bs\\\",Color:4},{Pattern:\\\"rs\\\",Color:4},{Pattern:\\\"ls\\\",Color:4},{Pattern:\\\"bo\\\",Color:11}]} destroy\"]}"]}

As recommended by the challenge text, I got the latest Minecraft Java Launcher and launched a world:

I followed the YouTube video and gave myself a command block, placed it with a button on it, and posted the mc86 initcode:

I clicked the button and received an enchanted book:

I followed the instructions and clicked each of the six links to generate my mc86 computer in my world:

Next, following the YouTube video, I pasted the challenge source code into the command block I created earlier and click the button:

This gave me a 13 page book and quill:

I placed a button in the mc86 computer (as directed in the YouTube video) and and clicked it to run the challenge program:

This generated 6 new mc86 computers and gave me 7 new book and quills. Looking at these new books, I see that they are just a few ages each, different, and they generate banners:

I currently have 7 mc86 computers and 7 new books, so I place each of the books into the different computers, add buttons to them, and then execute the programs.

This generated 7 columns of banners in the sky:

I see that the top row of each contains what I would expect the beginning of the flag to be (UDCTF{) plus a 7.

I use my high-tech Microsoft Paint program to edit a screenshot by rearranging the columns so that the top row spells out UDCTF{7

Running down the characters gives me the flag:

UDCTF{7R4NSP0S3_7HE_C0LUMNS}

BlueHens CTF 2021: Minecraft: MineR Code

This is from the BlueHensCTF 2021.

Challenge Author: ProfNinja

For this challenge, We are given the following information and links:

Here is the mc86 Intro:

Here is the mc86 InitCode:

/give @p minecraft:written_book{title:"Init CPU",author:"UD Cyberscholars",generation:0,pages:[
"{\"text\":\"Click Here First\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Creating RAM\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~1 ~ ~ minecraft:lime_shulker_box\"},
\"extra\":[
{\"text\":\"Click Here Second\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~1 ~ minecraft:command_block[facing=up]{powered:0b,Command:\\\"setblock ~ ~-1 ~ air\\\"}\"}},
{\"text\":\"Click Here Third\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~2 ~ minecraft:chain_command_block[facing=up]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"execute if data block ~-1 ~-2 ~ Items[0].tag.pages[0] run setblock ~ ~-2 ~ redstone_block\\\"}\"}},
{\"text\":\"Click Here Fourth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~ ~ minecraft:command_block[facing=east]{powered:0b,Command:\\\"data modify block ~2 ~ ~ Command set from block ~-2 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Fifth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~4 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"data remove block ~-3 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Sixth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Placing ALU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~5 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b}\"}}]}"]} 1

Finally, here is the challenge source code:

/give @p writable_book{pages:["/fill ~-1 ~26 ~-5 ~25 ~ ~-5 white_concrete","/fill ~0 ~25 ~-5 ~6 ~25 ~-5 black_concrete","/fill ~9 ~25 ~-5 ~11 ~25 ~-5 black_concrete","/fill ~14 ~25 ~-5 ~14 ~23 ~-5 black_concrete","/fill ~18 ~25 ~-5 ~24 ~25 ~-5 black_concrete","/fill ~0 ~24 ~-5 ~0 ~19 ~-5 black_concrete","/fill ~6 ~24 ~-5 ~6 ~19 ~-5 black_concrete","/fill ~11 ~24 ~-5 ~13 ~24 ~-5 black_concrete","/fill ~16 ~24 ~-5 ~16 ~24 ~-5 black_concrete","/fill ~18 ~24 ~-5 ~18 ~19 ~-5 black_concrete","/fill ~24 ~24 ~-5 ~24 ~19 ~-5 black_concrete","/fill ~2 ~23 ~-5 ~4 ~21 ~-5 black_concrete","/fill ~9 ~23 ~-5 ~11 ~23 ~-5 black_concrete","/fill ~20 ~23 ~-5 ~22 ~21 ~-5 black_concrete","/fill ~8 ~22 ~-5 ~8 ~21 ~-5 black_concrete","/fill ~10 ~22 ~-5 ~13 ~22 ~-5 black_concrete","/fill ~16 ~22 ~-5 ~16 ~21 ~-5 black_concrete","/fill ~10 ~21 ~-5 ~10 ~19 ~-5 black_concrete","/fill ~12 ~21 ~-5 ~13 ~21 ~-5 black_concrete","/fill ~9 ~20 ~-5 ~9 ~20 ~-5 black_concrete","/fill ~14 ~20 ~-5 ~14 ~18 ~-5 black_concrete","/fill ~1 ~19 ~-5 ~5 ~19 ~-5 black_concrete","/fill ~8 ~19 ~-5 ~8 ~19 ~-5 black_concrete","/fill ~12 ~19 ~-5 ~12 ~19 ~-5 black_concrete","/fill ~16 ~19 ~-5 ~16 ~18 ~-5 black_concrete","/fill ~19 ~19 ~-5 ~23 ~19 ~-5 black_concrete","/fill ~9 ~18 ~-5 ~9 ~17 ~-5 black_concrete","/fill ~15 ~18 ~-5 ~15 ~18 ~-5 black_concrete","/fill ~0 ~17 ~-5 ~1 ~17 ~-5 black_concrete","/fill ~5 ~17 ~-5 ~7 ~17 ~-5 black_concrete","/fill ~10 ~17 ~-5 ~10 ~16 ~-5 black_concrete","/fill ~13 ~17 ~-5 ~13 ~15 ~-5 black_concrete","/fill ~20 ~17 ~-5 ~21 ~16 ~-5 black_concrete","/fill ~2 ~16 ~-5 ~4 ~15 ~-5 black_concrete","/fill ~8 ~16 ~-5 ~8 ~16 ~-5 black_concrete","/fill ~11 ~16 ~-5 ~11 ~16 ~-5 black_concrete","/fill ~14 ~16 ~-5 ~16 ~16 ~-5 black_concrete","/fill ~19 ~16 ~-5 ~19 ~16 ~-5 black_concrete","/fill ~22 ~16 ~-5 ~23 ~16 ~-5 black_concrete","/fill ~0 ~15 ~-5 ~1 ~15 ~-5 black_concrete","/fill ~6 ~15 ~-5 ~6 ~15 ~-5 black_concrete","/fill ~9 ~15 ~-5 ~9 ~15 ~-5 black_concrete","/fill ~14 ~15 ~-5 ~15 ~15 ~-5 black_concrete","/fill ~21 ~15 ~-5 ~21 ~14 ~-5 black_concrete","/fill ~23 ~15 ~-5 ~24 ~15 ~-5 black_concrete","/fill ~5 ~14 ~-5 ~5 ~13 ~-5 black_concrete","/fill ~10 ~14 ~-5 ~11 ~12 ~-5 black_concrete","/fill ~14 ~14 ~-5 ~14 ~11 ~-5 black_concrete","/fill ~16 ~14 ~-5 ~19 ~14 ~-5 black_concrete","/fill ~24 ~14 ~-5 ~24 ~13 ~-5 black_concrete","/fill ~0 ~13 ~-5 ~0 ~9 ~-5 black_concrete","/fill ~4 ~13 ~-5 ~4 ~11 ~-5 black_concrete","/fill ~6 ~13 ~-5 ~9 ~13 ~-5 black_concrete","/fill ~16 ~13 ~-5 ~16 ~12 ~-5 black_concrete","/fill ~18 ~13 ~-5 ~18 ~13 ~-5 black_concrete","/fill ~2 ~12 ~-5 ~2 ~9 ~-5 black_concrete","/fill ~7 ~12 ~-5 ~8 ~12 ~-5 black_concrete","/fill ~15 ~12 ~-5 ~15 ~8 ~-5 black_concrete","/fill ~19 ~12 ~-5 ~19 ~9 ~-5 black_concrete","/fill ~23 ~12 ~-5 ~23 ~11 ~-5 black_concrete","/fill ~3 ~11 ~-5 ~3 ~11 ~-5 black_concrete","/fill ~5 ~11 ~-5 ~7 ~11 ~-5 black_concrete","/fill ~9 ~11 ~-5 ~9 ~10 ~-5 black_concrete","/fill ~12 ~11 ~-5 ~12 ~11 ~-5 black_concrete","/fill ~17 ~11 ~-5 ~17 ~11 ~-5 black_concrete","/fill ~20 ~11 ~-5 ~21 ~11 ~-5 black_concrete","/fill ~24 ~11 ~-5 ~24 ~10 ~-5 black_concrete","/fill ~5 ~10 ~-5 ~5 ~10 ~-5 black_concrete","/fill ~8 ~10 ~-5 ~8 ~6 ~-5 black_concrete","/fill ~16 ~10 ~-5 ~16 ~4 ~-5 black_concrete","/fill ~21 ~10 ~-5 ~22 ~10 ~-5 black_concrete","/fill ~6 ~9 ~-5 ~7 ~9 ~-5 black_concrete","/fill ~10 ~9 ~-5 ~10 ~9 ~-5 black_concrete","/fill ~13 ~9 ~-5 ~14 ~9 ~-5 black_concrete","/fill ~17 ~9 ~-5 ~18 ~9 ~-5 black_concrete","/fill ~20 ~9 ~-5 ~20 ~5 ~-5 black_concrete","/fill ~22 ~9 ~-5 ~22 ~9 ~-5 black_concrete","/fill ~9 ~8 ~-5 ~9 ~8 ~-5 black_concrete","/fill ~11 ~8 ~-5 ~11 ~6 ~-5 black_concrete","/fill ~0 ~7 ~-5 ~6 ~7 ~-5 black_concrete","/fill ~10 ~7 ~-5 ~10 ~5 ~-5 black_concrete","/fill ~12 ~7 ~-5 ~12 ~7 ~-5 black_concrete","/fill ~18 ~7 ~-5 ~18 ~7 ~-5 black_concrete","/fill ~24 ~7 ~-5 ~24 ~6 ~-5 black_concrete","/fill ~0 ~6 ~-5 ~0 ~1 ~-5 black_concrete","/fill ~6 ~6 ~-5 ~6 ~1 ~-5 black_concrete","/fill ~15 ~6 ~-5 ~15 ~4 ~-5 black_concrete","/fill ~2 ~5 ~-5 ~4 ~3 ~-5 black_concrete","/fill ~9 ~5 ~-5 ~9 ~3 ~-5 black_concrete","/fill ~13 ~5 ~-5 ~14 ~4 ~-5 black_concrete","/fill ~17 ~5 ~-5 ~19 ~5 ~-5 black_concrete","/fill ~22 ~5 ~-5 ~23 ~5 ~-5 black_concrete","/fill ~11 ~4 ~-5 ~11 ~4 ~-5 black_concrete","/fill ~17 ~4 ~-5 ~18 ~4 ~-5 black_concrete","/fill ~23 ~4 ~-5 ~24 ~4 ~-5 black_concrete","/fill ~17 ~3 ~-5 ~17 ~3 ~-5 black_concrete","/fill ~21 ~3 ~-5 ~22 ~3 ~-5 black_concrete","/fill ~24 ~3 ~-5 ~24 ~1 ~-5 black_concrete","/fill ~8 ~2 ~-5 ~8 ~1 ~-5 black_concrete","/fill ~12 ~2 ~-5 ~12 ~2 ~-5 black_concrete","/fill ~15 ~2 ~-5 ~16 ~2 ~-5 black_concrete","/fill ~19 ~2 ~-5 ~20 ~2 ~-5 black_concrete","/fill ~1 ~1 ~-5 ~5 ~1 ~-5 black_concrete","/fill ~16 ~1 ~-5 ~16 ~1 ~-5 black_concrete","/fill ~18 ~1 ~-5 ~18 ~1 ~-5 black_concrete","/fill ~21 ~1 ~-5 ~21 ~1 ~-5 black_concrete"]}

As recommended by the challenge text, I got the latest Minecraft Java Launcher and launched a world:

I followed the YouTube video and gave myself a command block, placed it with a button on it, and posted the mc86 initcode:

I clicked the button and received an enchanted book:

I followed the instructions and clicked each of the six links to generate my mc86 computer in my world:

Next, following the YouTube video, I pasted the challenge source code into the command block I created earlier and click the button:

This gave me a book and quill with 106 pages of instructions:

I then placed this book and quill into the Shulker Box:

I placed a button in the mc86 computer (as directed in the YouTube video) and and clicked it to run the challenge program:

This generated a giant QR code in my world:

After scanning the QR code, I got the following link:

https://gist.github.com/AndyNovo/30aa5b2665aa388dc81545f79ccb380f

This link gave me this code:

/give @p writable_book{pages:['/setblock ~5 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"bs",Color:4},{Pattern:"ls",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~6 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"rs",Color:4},{Pattern:"bs",Color:4},{Pattern:"ts",Color:4},{Pattern:"cbo",Color:11},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~7 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"bs",Color:4},{Pattern:"rs",Color:4},{Pattern:"ms",Color:11},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~8 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"cs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~9 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ms",Color:4},{Pattern:"rs",Color:11},{Pattern:"ts",Color:4},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~10 ~0 ~5 yellow_banner[rotation=0]{Patterns:[{Pattern:"cbo",Color:11},{Pattern:"vhr",Color:11},{Pattern:"bo",Color:11},{Pattern:"mr",Color:11}]}', '/setblock ~11 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"tt",Color:4},{Pattern:"tts",Color:11},{Pattern:"ls",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~12 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"tl",Color:4},{Pattern:"cs",Color:4},{Pattern:"bs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~13 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ls",Color:4},{Pattern:"tt",Color:11},{Pattern:"drs",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~14 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"bs",Color:4},{Pattern:"ms",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~15 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"bs",Color:4},{Pattern:"rs",Color:4},{Pattern:"ms",Color:11},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~16 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"hh",Color:4},{Pattern:"cs",Color:11},{Pattern:"ts",Color:4},{Pattern:"ls",Color:4},{Pattern:"drs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~17 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ls",Color:4},{Pattern:"hhb",Color:11},{Pattern:"ms",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~18 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ms",Color:4},{Pattern:"rs",Color:11},{Pattern:"ts",Color:4},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~19 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"cs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~20 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"bo",Color:4},{Pattern:"rud",Color:11},{Pattern:"ld",Color:11}]}', '/setblock ~21 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ls",Color:4},{Pattern:"hhb",Color:11},{Pattern:"ms",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~22 ~0 ~5 yellow_banner[rotation=0]{Patterns:[{Pattern:"mr",Color:11},{Pattern:"ms",Color:11},{Pattern:"drs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~23 ~0 ~5 yellow_banner[rotation=0]{Patterns:[{Pattern:"mr",Color:11},{Pattern:"ms",Color:11},{Pattern:"drs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~24 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"bs",Color:4},{Pattern:"ms",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~25 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"tt",Color:4},{Pattern:"tts",Color:11},{Pattern:"ls",Color:4},{Pattern:"rs",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~26 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"rs",Color:4},{Pattern:"bs",Color:4},{Pattern:"ts",Color:4},{Pattern:"cbo",Color:11},{Pattern:"ls",Color:4},{Pattern:"ms",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~27 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"bs",Color:4},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~28 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"drs",Color:4},{Pattern:"hhb",Color:11},{Pattern:"dls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~29 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"bo",Color:4},{Pattern:"rud",Color:11},{Pattern:"ld",Color:11}]}', '/setblock ~30 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"drs",Color:4},{Pattern:"hhb",Color:11},{Pattern:"dls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~31 ~0 ~5 blue_banner[rotation=0]{Patterns:[{Pattern:"ts",Color:4},{Pattern:"bs",Color:4},{Pattern:"rs",Color:4},{Pattern:"ls",Color:4},{Pattern:"bo",Color:11}]}', '/setblock ~32 ~0 ~5 yellow_banner[rotation=0]{Patterns:[{Pattern:"cbo",Color:11},{Pattern:"vh",Color:11},{Pattern:"mr",Color:11}]}']}

I then placed this code into my command block and clicked the button to run it:

This gave me another book and quill with 28 pages:

I placed it into the Shulker Box, added another button, and clicked it to run the code:

This generated the flag:

UDCTF{M1N3CR4FT_4SS3MBLY_Y0}

BlueHens CTF 2021: Minecraft: Mega Chickens

This is from the BlueHensCTF 2021.

Challenge Author: ProfNinja, Gkonos, Daniel

For this challenge, We are given the following information and links:

Here is the mc86 Intro:

Here is the mc86 InitCode:

/give @p minecraft:written_book{title:"Init CPU",author:"UD Cyberscholars",generation:0,pages:[
"{\"text\":\"Click Here First\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Creating RAM\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~1 ~ ~ minecraft:lime_shulker_box\"},
\"extra\":[
{\"text\":\"Click Here Second\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~1 ~ minecraft:command_block[facing=up]{powered:0b,Command:\\\"setblock ~ ~-1 ~ air\\\"}\"}},
{\"text\":\"Click Here Third\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~2 ~ minecraft:chain_command_block[facing=up]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"execute if data block ~-1 ~-2 ~ Items[0].tag.pages[0] run setblock ~ ~-2 ~ redstone_block\\\"}\"}},
{\"text\":\"Click Here Fourth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~ ~ minecraft:command_block[facing=east]{powered:0b,Command:\\\"data modify block ~2 ~ ~ Command set from block ~-2 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Fifth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~4 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"data remove block ~-3 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Sixth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Placing ALU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~5 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b}\"}}]}"]} 1

Finally, here is the challenge source code:

/give @p writable_book{pages:["/fill ~ ~ ~-2 ~5 ~ ~-3 yellow_concrete","/fill ~1 ~ ~-4 ~1 ~5 ~-4 yellow_concrete","/fill ~4 ~ ~-4 ~4 ~5 ~-4 yellow_concrete","/fill ~ ~6 ~-6 ~5 ~11 ~2 blue_wool","/fill ~-1 ~8 ~-5 ~6 ~11 ~1 blue_wool","/fill ~1 ~10 ~2 ~4 ~15 ~4 blue_wool","/fill ~2 ~10 ~5 ~3 ~11 ~5 red_concrete","/fill ~1 ~12 ~5 ~4 ~13 ~6 yellow_concrete","/fill ~3 ~14 ~4 ~3 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-72 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~40 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 blue_wool","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-8 ~20 ~-10","/fill ~4 ~14 ~4 ~4 ~14 ~4 black_concrete","/fill ~3 ~14 ~4 ~3 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-152 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-96 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-16 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~80 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~88 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~168 ~20 ~-10","/fill ~2 ~14 ~4 ~2 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-112 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-80 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-48 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~64 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~160 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~176 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 blue_wool","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-192 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-184 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-144 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-32 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~16 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~72 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~96 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~136 ~20 ~-10","/fill ~4 ~14 ~4 ~4 ~14 ~4 blue_wool","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-176 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-168 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-160 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-136 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-128 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-88 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-120 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-64 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~0 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~8 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~32 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~48 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~112 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~128 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~144 ~20 ~-10","/fill ~1 ~14 ~4 ~1 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~152 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 blue_wool","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~56 ~20 ~-10","/fill ~2 ~14 ~4 ~2 ~14 ~4 blue_wool","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~120 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 black_concrete","/fill ~4 ~14 ~4 ~4 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-104 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 blue_wool","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-40 ~20 ~-10","/fill ~2 ~14 ~4 ~2 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-56 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~184 ~20 ~-10","/fill ~3 ~14 ~4 ~3 ~14 ~4 black_concrete","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~-24 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~24 ~20 ~-10","/clone ~-1 ~ ~-6 ~6 ~15 ~6 ~104 ~20 ~-10"]}

As recommended by the challenge text, I got the latest Minecraft Java Launcher and launched a world:

I followed the YouTube video and gave myself a command block, placed it with a button on it, and posted the mc86 initcode:

I clicked the button and received an enchanted book:

I followed the instructions and clicked each of the six links to generate my mc86 computer in my world:

Next, following the YouTube video, I pasted the challenge source code into the command block I created earlier and click the button:

his gave me a book and quill with 72 pages of instructions:

I then placed this book and quill into the Shulker Box:

I placed a button in the mc86 computer (as directed in the YouTube video) and and clicked it to run the challenge program:

This created a bunch of giant chickens (or maybe Blue Hens):

Upon close inspection, I see that their eyes are different:

Looking even closer, I see that their are 4 blocks that are changing between chickens. Those 4 blocks are either just the blue wool (like the rest of the chicken) or black concrete. On a hunch, I recorded these as binary values where blue wool equaled a 0 and black concrete equaled a 1. This gave me the following binary value:

0100 0110 0111 1011 0011 0100 0111 0010 0110 1101 0111 1001 0101 1111 0011 0000 0110 0110 0101 1111 0110 0010 0110 1100 0111 0101 0011 0011 0101 1111 0110 1000 0110 0101 0110 1110 0111 0011 0111 1101

Taking this hunch further, I modified these values to give me binary bytes:

01000110 01111011 00110100 01110010 01101101 01111001 01011111 00110000 01100110 01011111 01100010 01101100 01110101 00110011 01011111 01101000 01100101 01101110 01110011 01111101

A quick trip to RapidTables to convert these binary bytes to ASCII, I get the following text:

That is the flag:

UDCTF{4rmy_0f_blu3_hens}

BlueHens CTF 2021: Minecraft: Morse Craft

This is from the BlueHensCTF 2021.

My son and I tackled this one together.

For this challenge, we are given the following information and links:

Here is the mc86 Intro:

Here is the mc86 InitCode:

/give @p minecraft:written_book{title:"Init CPU",author:"UD Cyberscholars",generation:0,pages:[
"{\"text\":\"Click Here First\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Creating RAM\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~1 ~ ~ minecraft:lime_shulker_box\"},
\"extra\":[
{\"text\":\"Click Here Second\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~1 ~ minecraft:command_block[facing=up]{powered:0b,Command:\\\"setblock ~ ~-1 ~ air\\\"}\"}},
{\"text\":\"Click Here Third\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~2 ~ minecraft:chain_command_block[facing=up]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"execute if data block ~-1 ~-2 ~ Items[0].tag.pages[0] run setblock ~ ~-2 ~ redstone_block\\\"}\"}},
{\"text\":\"Click Here Fourth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~ ~ minecraft:command_block[facing=east]{powered:0b,Command:\\\"data modify block ~2 ~ ~ Command set from block ~-2 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Fifth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~4 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"data remove block ~-3 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Sixth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Placing ALU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~5 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b}\"}}]}"]} 1

Finally, here is the challenge source code:

/give @p writable_book{pages:["/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,"/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1","/playsound item.hoe.till master @a ~ ~ ~ 999 1",x,x,x,x,x,"/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p","/playsound block.bell.use master @p",x,x,x,x,x]}

As recommended by the challenge text, we got the latest Minecraft Java Launcher and launched a world:

We followed the YouTube video and gave ourselves a command block, placed it with a button on it, and posted the mc86 initcode:

We clicked the button and received an enchanted book:

We followed the instructions and clicked each of the six links to generate my mc86 computer in our world:

Next, following the YouTube video, we pasted the challenge source code into the command block we created earlier and click the button:

This gave us a book and quill with 1,195 pages of instructions:

We then placed this book and quill into the Shulker Box:

We placed a button in the mc86 computer (as directed in the YouTube video) and and clicked it to run the challenge program:

This started playing two different sounds in some kind of pattern with pauses in between; a hoe till sound and a bell sound

Here is an audio clip of the sounds:

Given the name of the challenge, we assumed that these sounds represented dashes and dots. The hoe till sound sounded like dashes and the bell sounded like dots.

We took the recording listed above and played it back at 80% speed (my code copying days were long ago) and wrote down what I heard:

-.-. .-. .- ..-. - .. -. --. -- --- .-. ... . ..-. --- .-. - .... . .-- .. -.

A quick trip to MorseCodeWorld.com and we decoded it:

This gave us the flag:

UDCTF{CRAFTINGMORSEFORTHEWIN}

BlueHens CTF 2021: Rev: Me, Crack

This is from the BlueHensCTF 2021.

Challenge Author: ProfNinja

My son and I tackled this one together.

For this challenge, we are given the following information and links:

Here is the mc86 Intro:

Here is the mc86 InitCode:

/give @p minecraft:written_book{title:"Init CPU",author:"UD Cyberscholars",generation:0,pages:[
"{\"text\":\"Click Here First\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Creating RAM\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~1 ~ ~ minecraft:lime_shulker_box\"},
\"extra\":[
{\"text\":\"Click Here Second\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~1 ~ minecraft:command_block[facing=up]{powered:0b,Command:\\\"setblock ~ ~-1 ~ air\\\"}\"}},
{\"text\":\"Click Here Third\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing Timing Belt\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~2 ~2 ~ minecraft:chain_command_block[facing=up]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"execute if data block ~-1 ~-2 ~ Items[0].tag.pages[0] run setblock ~ ~-2 ~ redstone_block\\\"}\"}},
{\"text\":\"Click Here Fourth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Start CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~3 ~ ~ minecraft:command_block[facing=east]{powered:0b,Command:\\\"data modify block ~2 ~ ~ Command set from block ~-2 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Fifth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Finishing CPU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~4 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b,Command:\\\"data remove block ~-3 ~ ~ Items[0].tag.pages[0]\\\"}\"}},
{\"text\":\"Click Here Sixth\\n\",\"color\":\"dark_green\",\"bold\":true,\"underlined\":true,\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Placing ALU\"},\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~5 ~ ~ minecraft:chain_command_block[facing=east]{powered:0b,auto:1b,conditionMet:0b}\"}}]}"]} 1

Finally, here is the challenge source code:

/give @p writable_book{pages:["/say please write the flag into a book (one character per page) and make that book your selected item when you run this program","scoreboard objectives add arith dummy","/kill @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}]","summon armor_stand ~ ~10 ~-20 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"A\"]}}],CustomName:\"\\\"A\\\"\",Tags:[\"ASCII\",\"A\"],\"HurtByTimestamp\":65b}","summon armor_stand ~ ~10 ~-19 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"B\"]}}],CustomName:\"\\\"B\\\"\",Tags:[\"ASCII\",\"B\"],\"HurtByTimestamp\":66b}","summon armor_stand ~ ~10 ~-18 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"C\"]}}],CustomName:\"\\\"C\\\"\",Tags:[\"ASCII\",\"C\"],\"HurtByTimestamp\":67b}","summon armor_stand ~ ~10 ~-17 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"D\"]}}],CustomName:\"\\\"D\\\"\",Tags:[\"ASCII\",\"D\"],\"HurtByTimestamp\":68b}","summon armor_stand ~ ~10 ~-16 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"E\"]}}],CustomName:\"\\\"E\\\"\",Tags:[\"ASCII\",\"E\"],\"HurtByTimestamp\":69b}","summon armor_stand ~ ~10 ~-15 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"F\"]}}],CustomName:\"\\\"F\\\"\",Tags:[\"ASCII\",\"F\"],\"HurtByTimestamp\":70b}","summon armor_stand ~ ~10 ~-14 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"G\"]}}],CustomName:\"\\\"G\\\"\",Tags:[\"ASCII\",\"G\"],\"HurtByTimestamp\":71b}","summon armor_stand ~ ~10 ~-13 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"H\"]}}],CustomName:\"\\\"H\\\"\",Tags:[\"ASCII\",\"H\"],\"HurtByTimestamp\":72b}","summon armor_stand ~ ~10 ~-12 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"I\"]}}],CustomName:\"\\\"I\\\"\",Tags:[\"ASCII\",\"I\"],\"HurtByTimestamp\":73b}","summon armor_stand ~ ~10 ~-11 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"J\"]}}],CustomName:\"\\\"J\\\"\",Tags:[\"ASCII\",\"J\"],\"HurtByTimestamp\":74b}","summon armor_stand ~ ~10 ~-10 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"K\"]}}],CustomName:\"\\\"K\\\"\",Tags:[\"ASCII\",\"K\"],\"HurtByTimestamp\":75b}","summon armor_stand ~ ~10 ~-9 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"L\"]}}],CustomName:\"\\\"L\\\"\",Tags:[\"ASCII\",\"L\"],\"HurtByTimestamp\":76b}","summon armor_stand ~ ~10 ~-8 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"M\"]}}],CustomName:\"\\\"M\\\"\",Tags:[\"ASCII\",\"M\"],\"HurtByTimestamp\":77b}","summon armor_stand ~ ~10 ~-7 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"N\"]}}],CustomName:\"\\\"N\\\"\",Tags:[\"ASCII\",\"N\"],\"HurtByTimestamp\":78b}","summon armor_stand ~ ~10 ~-6 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"O\"]}}],CustomName:\"\\\"O\\\"\",Tags:[\"ASCII\",\"O\"],\"HurtByTimestamp\":79b}","summon armor_stand ~ ~10 ~-5 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"P\"]}}],CustomName:\"\\\"P\\\"\",Tags:[\"ASCII\",\"P\"],\"HurtByTimestamp\":80b}","summon armor_stand ~ ~10 ~-4 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"Q\"]}}],CustomName:\"\\\"Q\\\"\",Tags:[\"ASCII\",\"Q\"],\"HurtByTimestamp\":81b}","summon armor_stand ~ ~10 ~-3 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"R\"]}}],CustomName:\"\\\"R\\\"\",Tags:[\"ASCII\",\"R\"],\"HurtByTimestamp\":82b}","summon armor_stand ~ ~10 ~-2 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"S\"]}}],CustomName:\"\\\"S\\\"\",Tags:[\"ASCII\",\"S\"],\"HurtByTimestamp\":83b}","summon armor_stand ~ ~10 ~-1 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"T\"]}}],CustomName:\"\\\"T\\\"\",Tags:[\"ASCII\",\"T\"],\"HurtByTimestamp\":84b}","summon armor_stand ~ ~10 ~0 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"U\"]}}],CustomName:\"\\\"U\\\"\",Tags:[\"ASCII\",\"U\"],\"HurtByTimestamp\":85b}","summon armor_stand ~ ~10 ~1 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"V\"]}}],CustomName:\"\\\"V\\\"\",Tags:[\"ASCII\",\"V\"],\"HurtByTimestamp\":86b}","summon armor_stand ~ ~10 ~2 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"W\"]}}],CustomName:\"\\\"W\\\"\",Tags:[\"ASCII\",\"W\"],\"HurtByTimestamp\":87b}","summon armor_stand ~ ~10 ~3 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"X\"]}}],CustomName:\"\\\"X\\\"\",Tags:[\"ASCII\",\"X\"],\"HurtByTimestamp\":88b}","summon armor_stand ~ ~10 ~4 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"Y\"]}}],CustomName:\"\\\"Y\\\"\",Tags:[\"ASCII\",\"Y\"],\"HurtByTimestamp\":89b}","summon armor_stand ~ ~10 ~5 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"Z\"]}}],CustomName:\"\\\"Z\\\"\",Tags:[\"ASCII\",\"Z\"],\"HurtByTimestamp\":90b}","summon armor_stand ~ ~10 ~6 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"1\"]}}],CustomName:\"\\\"1\\\"\",Tags:[\"ASCII\",\"1\"],\"HurtByTimestamp\":49b}","summon armor_stand ~ ~10 ~7 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"2\"]}}],CustomName:\"\\\"2\\\"\",Tags:[\"ASCII\",\"2\"],\"HurtByTimestamp\":50b}","summon armor_stand ~ ~10 ~8 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"3\"]}}],CustomName:\"\\\"3\\\"\",Tags:[\"ASCII\",\"3\"],\"HurtByTimestamp\":51b}","summon armor_stand ~ ~10 ~9 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"4\"]}}],CustomName:\"\\\"4\\\"\",Tags:[\"ASCII\",\"4\"],\"HurtByTimestamp\":52b}","summon armor_stand ~ ~10 ~10 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"5\"]}}],CustomName:\"\\\"5\\\"\",Tags:[\"ASCII\",\"5\"],\"HurtByTimestamp\":53b}","summon armor_stand ~ ~10 ~11 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"6\"]}}],CustomName:\"\\\"6\\\"\",Tags:[\"ASCII\",\"6\"],\"HurtByTimestamp\":54b}","summon armor_stand ~ ~10 ~12 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"7\"]}}],CustomName:\"\\\"7\\\"\",Tags:[\"ASCII\",\"7\"],\"HurtByTimestamp\":55b}","summon armor_stand ~ ~10 ~13 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"8\"]}}],CustomName:\"\\\"8\\\"\",Tags:[\"ASCII\",\"8\"],\"HurtByTimestamp\":56b}","summon armor_stand ~ ~10 ~14 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"9\"]}}],CustomName:\"\\\"9\\\"\",Tags:[\"ASCII\",\"9\"],\"HurtByTimestamp\":57b}","summon armor_stand ~ ~10 ~15 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"0\"]}}],CustomName:\"\\\"0\\\"\",Tags:[\"ASCII\",\"0\"],\"HurtByTimestamp\":48b}","summon armor_stand ~ ~10 ~16 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"{\"]}}],CustomName:\"\\\"{\\\"\",Tags:[\"ASCII\",\"{\"],\"HurtByTimestamp\":123b}","summon armor_stand ~ ~10 ~17 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"}\"]}}],CustomName:\"\\\"}\\\"\",Tags:[\"ASCII\",\"}\"],\"HurtByTimestamp\":125b}","summon armor_stand ~ ~10 ~18 {NoGravity:1b,CustomNameVisible:1b,HandItems:[{id:\"minecraft:writable_book\",Count:1b},{id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"_\"]}}],CustomName:\"\\\"_\\\"\",Tags:[\"ASCII\",\"_\"],\"HurtByTimestamp\":95b}","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 68","/scoreboard players set arg2 arith 235","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 17","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 663","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 0","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[1]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 1","/scoreboard players set arg2 arith 399","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 19","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 350","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 1","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[2]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 8","/scoreboard players set arg2 arith 193","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 178","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 331","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 2","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[3]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 15","/scoreboard players set arg2 arith 377","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 365","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 848","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 3","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[4]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 9","/scoreboard players set arg2 arith 551","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 17","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 223","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 4","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[5]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 12","/scoreboard players set arg2 arith 181","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 63","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 176","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 5","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[6]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 67","/scoreboard players set arg2 arith 294","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 139","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 760","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 6","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[7]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 2","/scoreboard players set arg2 arith 459","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 37","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 148","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 7","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[8]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 19","/scoreboard players set arg2 arith 901","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 793","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 992","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 8","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[9]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 28","/scoreboard players set arg2 arith 555","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 522","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 552","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 9","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[10]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 320","/scoreboard players set arg2 arith 71","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 1","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 838","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 10","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[11]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 62","/scoreboard players set arg2 arith 218","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 144","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 972","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 11","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[12]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 12","/scoreboard players set arg2 arith 242","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 84","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 973","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 12","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[13]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 17","/scoreboard players set arg2 arith 151","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 81","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 183","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 13","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[14]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 33","/scoreboard players set arg2 arith 680","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 305","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 756","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 14","/data modify storage udctf x set from entity @p SelectedItem.tag.pages[15]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0] set value {id:\"minecraft:writable_book\",Count:1b,tag:{pages:[\"\"]}}","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run data modify entity @s HandItems[0].tag.pages[0] set from storage udctf x","execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]}] at @s run execute store success score @s arith run data modify entity @s HandItems[0].tag.pages[0] set from entity @s HandItems[1].tag.pages[0]","/execute as @e[type=minecraft:armor_stand,nbt={\"Tags\":[\"ASCII\"]},scores={arith=0}] at @s run execute store result score xval arith run data get entity @s HurtByTimestamp","/scoreboard players set arg1 arith 86","/scoreboard players set arg2 arith 31","/scoreboard players operation arg1 arith *= arg2 arith","/scoreboard players set arg2 arith 19","/scoreboard players operation arg1 arith += arg2 arith","/scoreboard players set arg2 arith 256","/scoreboard players operation arg1 arith %= arg2 arith","/scoreboard players operation arg1 arith -= xval arith","/execute unless score arg1 arith matches 0 run say Failed at page 15","/say if you saw no failures you have probably figured out the flag, congrats"]}

As recommended by the challenge text, we got the latest Minecraft Java Launcher and launched a world:

We followed the YouTube video and gave ourselves a command block, placed it with a button on it, and posted the mc86 initcode:

We clicked the button and received an enchanted book:

We followed the instructions and clicked each of the six links to generate my mc86 computer in our world:

Next, following the YouTube video, we pasted the challenge source code into the command block we created earlier and click the button:

This gave us a book and quill with 267 pages of instructions:

After reviewing the instructions and the code, we realized that we need to hold a book and quill when we execute this program in our mc86 computer. That book and quill needed to contain the flag with one character per page.

A further code review indicated that when this program runs, it summons armor stands and puts character near them (A-Z, 0-9, _, {, and }). This must be the character set for our flag.

Further code analysis told us that when this program runs, it iterates through each page of our flag book and checks if the right character is present. If so, the program moves on and checks the next character. If it is wrong, it throws an error for the particular page and moves on to the next:

Failed at page n

We realized this program only looks a pages 0-15, that must mean the flag is only 16 characters long.

For grins, we created a book and quill with the following flag broken up between the pages (we know the flag format, so we should be good on the first 6 characters and the last):

UDCTF{FOOFOOFOO}

We then placed this book and quill into the Shulker Box:

We placed a button in the mc86 computer (as directed in the YouTube video) and and clicked it to run the challenge program:

Here are the armor stands it summoned:

After running the program, we looked at the Minecraft log file (%appdata%/.Minecraft/logs/latest.log):

By looking for the errors, we could determine what characters we had right (no error) and what characters we had wrong (error).

In this instance, the first 6 characters and the last character were correct. Characters 6-14 or pages 7-15 in our flag book and quill were wrong.

While I’m sure there was a much more elegant way to automate the, we ended up iterating through the known flag character set for the 9 wrong pages. We got pretty good at watching the chat window and counting the number of errors. When we got fewer errors than the previous run, we would review the log file to see which character did not error this time and would subsequently know the correct character for that page.

Through this process of elimination, we determined the flag to be:

UDCTF{MC86_4EVA}

This was a very fun challenge, as all of the Minecraft challenges have been.