-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 241 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 241 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="PA.:]m.)HG_X7h(?CZ)^">radius</variable><variable id="X2Ui8@{QQzMC3GMYnSaE">distance</variable><variable id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</variable><variable id="4#RG~C4n2_epSB:${2o]">colourID</variable><variable id=",(2`e*$KL7DJ0T:!TAX8">r1</variable><variable id="g{C0l!Pc-R)+ABb=2=(K">height</variable><variable id="-$)U0Ow+A;t`)_nbRTo!">orientation</variable><variable id="0|eFyl;bwrb+Mu5HMd)S">y6</variable><variable id="Wno+bnF5+O.}icnuPPe$">offsetX</variable><variable id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</variable><variable id=".T,|/i_2?RV8_|fy$i{g">y</variable><variable id="C,%4t_ZlLx5ik`wgVGkP">y2</variable><variable id="W^EsvS6f-)aa^Xb)Q|5V">index4</variable><variable id="rEh~DmXj{0%?tlkDJL=,">index62</variable><variable id="=;RP^{,;^l;U!SFOKN:+">list</variable><variable id=")6!cB%3%)dQ!pN{#2W9M">index5</variable><variable id="6$uLRRatL!)7#9IpdQG~">index6</variable><variable id="^[t/aB+[B~`3GZ}ZT];C">width</variable><variable id="Yen?,Lf{zC_My7su)+xi">torchfrequency</variable><variable id="djSQeMkn?-tx8R#u+@%w">error</variable><variable id="`hITzgQz^XkfVt1l|~Y~">error2</variable><variable id=":Aa(Z(9rVdJ^DCN+VBTM">h</variable><variable id="hiuQpe=(2YF0UW0.~fz/">y3</variable><variable id="@S4[E+vm_hE`zpz7hc+c">x</variable><variable id="2v-EP)g,Z:d+[=Av1!Nt">ddz</variable><variable id="7CyJnR6r%@dcy_q8|B3X">y22</variable><variable id="omdr5lKp3Sj;Zd%:%i1o">x2</variable><variable id="Co8ON=N*KGiI=z{s^9Zy">ddz2</variable><variable id="OAg~b6ogZLPk%h*WuX,_">y32</variable><variable id="Q3jrHtBe^e]1aPO5)0/}">x3</variable><variable id="EQgI8A,8N=@eDhW%j{mJ">ddz3</variable><variable id="Wss1jw0^)?L?)R^[R;rk">dwx</variable><variable id="%_5n}m)iVnYsO/S*tli$">dwz</variable><variable id="!(S)S9{fjiNF8zJ[GPH2">ddx</variable><variable id="KL($XKWE5.L^R8^dOS9p">ddz5</variable><variable id="[!!u_(~-+(jM}4KF_{N3">x5</variable><variable id="s)aAEj%%F(*RQk9xvJ9Z">z</variable><variable id=",?dj+0)cjyGzKg~k~1;l">y4</variable><variable id="zP7^)VBN|CH8}nR/A~7s">x4</variable><variable id="?;rTXdOY~7E1%`u;X1)G">ddz4</variable><variable id="ek8*k}uwI@dI*hP.B+Cp">brick1</variable><variable id="5J;ZD*F286:4jd-ILPBY">brick2</variable><variable id="_oIAM64_pkL)X^T2PT2T">brick3</variable><variable id="c}a.W`{t*VK36HUElM`;">lightid</variable><variable id="@FzUx;B4+j=bQ:d!4[uy">brick4</variable><variable id="YNw=*)^UGAo2}J^(ca0P">stairtype</variable><variable id="tpkZBLQ,,@)0)/}VxNL:">num1</variable><variable id="xtpvB*/mizTK+su$%,(b">gradient</variable></variables><block type="minecraftOnChat" x="10" y="10"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="distance"></mutation><field name="HANDLER_num1" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><value name="command"><shadow type="text"><field name="TEXT">moveagent</field></shadow></value><statement name="HANDLER"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value></block></statement></block><block type="minecraftOnChat" x="10" y="10"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="offsetY"></mutation><field name="HANDLER_num1" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field><value name="command"><shadow type="text"><field name="TEXT">autobuild</field></shadow></value><statement name="HANDLER"><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="for(y6 = 0; y6 < num3; y6++){" line1=" autoBuildSegment()" line2=" }" numlines="3"></mutation></block></statement><statement name="ELSE"><block type="function_call"><mutation name="autoBuildForever" functionid="u8sANaSkSuiP8[t`;7sc"></mutation></block></statement></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="autoBuildForever" functionid="u8sANaSkSuiP8[t`;7sc"></mutation><field name="function_name">autoBuildForever</field><statement name="STACK"><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="function_call"><mutation name="autoBuildSegment" functionid="En3L[CGSTXB]]Hmj^uy_"></mutation></block></statement></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="autoBuildSegment" functionid="En3L[CGSTXB]]Hmj^uy_"></mutation><field name="function_name">autoBuildSegment</field><statement name="STACK"><block type="variables_set"><field name="VAR" id="4#RG~C4n2_epSB:${2o]">colourID</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random"><value name="min"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number"><field name="NUM">15</field></shadow></value></block></value><next><block type="variables_set"><field name="VAR" id=",(2`e*$KL7DJ0T:!TAX8">r1</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random"><value name="min"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number"><field name="NUM">5</field></shadow></value></block></value><next><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="switch(r1){" line1=" case 0:" line2=" case 1:" line3=" case 2: // Tunnel forward" line4=" tunnelSegment(randint(17, 128), 3, 3)" line5=" break;" line6=" case 3: // Change direction" line7=" if(randint(0,1)==0){" line8=" agent.turnLeft()" line9=" agent.move(LEFT,3)" line10=" }else{" line11=" agent.turnRight()" line12=" agent.move(FORWARD,3)" line13=" }" line14=" tunnelSegment(randint(17, 128), 3, 3)" line15=" break;" line16=" case 4: // Change elevation" line17=" if (randint(0, 1) == 0)" line18=" tunnelUp(randint(32, 128), 3, 3)" line19=" else" line20=" tunnelDown(randint(32, 128), 3, 3)" line21=" break;" line22=" case 5: // Do something interesting" line23=" {" line24=" let r2 = randint(0,4)" line25=" switch(r2){" line26=" case 0: // Change colour" line27=" colourID = randint(0, 15)" line28=" break;" line29=" case 1: // Change theme" line30=" break;" line31=" case 2: // Create rooms" line32=" break;" line33=" case 3: // Create tower" line34=" break;" line35=" case 4: // Create something else cool" line36=" break;" line37=" }" line38=" }" line39=" break;" line40=" }" numlines="41"></mutation></block></next></block></next></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="GetGlassColour" functionid=")ntJDAIE`Heo!+vN?dSS"><arg name="colourID" id="7dyrou976lkfbemkd124" type="number"></arg></mutation><field name="function_name">GetGlassColour</field><comment pinned="false" h="80" w="160">Colour Functions</comment><value name="7dyrou976lkfbemkd124"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">colourID</field></block></value><statement name="STACK"><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="switch (colourID) {" line1=" case 0: return WHITE_STAINED_GLASS;" line2=" case 1: return ORANGE_STAINED_GLASS;" line3=" case 2: return MAGENTA_STAINED_GLASS;" line4=" case 3: return LIGHT_BLUE_STAINED_GLASS;" line5=" case 4: return YELLOW_STAINED_GLASS;" line6=" case 5: return LIME_STAINED_GLASS;" line7=" case 6: return PINK_STAINED_GLASS;" line8=" case 7: return GRAY_STAINED_GLASS;" line9=" case 8: return LIGHT_GRAY_STAINED_GLASS;" line10=" case 9: return CYAN_STAINED_GLASS;" line11=" case 10: return PURPLE_STAINED_GLASS;" line12=" case 11: return BLUE_STAINED_GLASS;" line13=" case 12: return BROWN_STAINED_GLASS;" line14=" case 13: return GREEN_STAINED_GLASS;" line15=" case 14: return RED_STAINED_GLASS;" line16=" case 15: return BLACK_STAINED_GLASS;" line17=" default: return GLASS; // fallback" line18=" }" numlines="19"></mutation></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="GetPaneColour" functionid="B8iOIG@9Uv9r)OGwUEVn"><arg name="colourID" id="eu23pt7jq2db2y40wxes" type="number"></arg></mutation><field name="function_name">GetPaneColour</field><value name="eu23pt7jq2db2y40wxes"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">colourID</field></block></value><statement name="STACK"><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="switch (colourID) {" line1=" case 0: return WHITE_STAINED_GLASS_PANE;" line2=" case 1: return ORANGE_STAINED_GLASS_PANE;" line3=" case 2: return MAGENTA_STAINED_GLASS_PANE;" line4=" case 3: return LIGHT_BLUE_STAINED_GLASS_PANE;" line5=" case 4: return YELLOW_STAINED_GLASS_PANE;" line6=" case 5: return LIME_STAINED_GLASS_PANE;" line7=" case 6: return PINK_STAINED_GLASS_PANE;" line8=" case 7: return GRAY_STAINED_GLASS_PANE;" line9=" case 8: return LIGHT_GRAY_STAINED_GLASS_PANE;" line10=" case 9: return CYAN_STAINED_GLASS_PANE;" line11=" case 10: return PURPLE_STAINED_GLASS_PANE;" line12=" case 11: return BLUE_STAINED_GLASS_PANE;" line13=" case 12: return BROWN_STAINED_GLASS_PANE;" line14=" case 13: return GREEN_STAINED_GLASS_PANE;" line15=" case 14: return RED_STAINED_GLASS_PANE;" line16=" case 15: return BLACK_STAINED_GLASS_PANE;" line17=" default: return GLASS_PANE; // fallback" line18=" }" numlines="19"></mutation></block></statement></block><block type="minecraftOnChat" x="10" y="10"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="height"></mutation><field name="HANDLER_num1" id="g{C0l!Pc-R)+ABb=2=(K">height</field><value name="command"><shadow type="text"><field name="TEXT">towerdeco</field></shadow></value><statement name="HANDLER"><block type="variables_set"><field name="VAR" id="4#RG~C4n2_epSB:${2o]">colourID</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random"><value name="min"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number"><field name="NUM">15</field></shadow></value></block></value><next><block type="function_call"><mutation name="towerDecorativeSegment" functionid="Z~DZek4h|m4;m0%nQvRf"><arg name="floors" id="s9dxt27f1pekooxs9bya" type="number"></arg><arg name="colourID" id="s4orqge3lpfn0xqtfqda" type="number"></arg></mutation><value name="s9dxt27f1pekooxs9bya"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><value name="s4orqge3lpfn0xqtfqda"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="4#RG~C4n2_epSB:${2o]">colourID</field></block></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="function_call"><mutation name="towerDecorativeRoom" functionid="+egl]6pGbBwwp;Fox=Uc"><arg name="colourID" id="s1y8au1xm0fqbh35p7g8tk" type="number"></arg></mutation><value name="s1y8au1xm0fqbh35p7g8tk"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="4#RG~C4n2_epSB:${2o]">colourID</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="10" y="10"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="height"></mutation><field name="HANDLER_num1" id="g{C0l!Pc-R)+ABb=2=(K">height</field><value name="command"><shadow type="text"><field name="TEXT">towerseg</field></shadow></value><statement name="HANDLER"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></statement><next><block type="function_call"><mutation name="towerSegment" functionid="2GI+gc3o+F9ZX_`M8OT1"><arg name="floors" id="kfp1izj80wg3jcpuhidfme" type="number"></arg></mutation><value name="kfp1izj80wg3jcpuhidfme"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">4</field></shadow></value></block></value></block></next></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="towerDecorativeSegment" functionid="Z~DZek4h|m4;m0%nQvRf"><arg name="floors" id="s9dxt27f1pekooxs9bya" type="number"></arg><arg name="colourID" id="s4orqge3lpfn0xqtfqda" type="number"></arg></mutation><field name="function_name">towerDecorativeSegment</field><value name="s9dxt27f1pekooxs9bya"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">floors</field></block></value><value name="s4orqge3lpfn0xqtfqda"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">colourID</field></block></value><statement name="STACK"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="variables_set"><field name="VAR" id="-$)U0Ow+A;t`)_nbRTo!">orientation</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Hollow</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">4</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">4</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-4</field></shadow></value><value name="y"><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">-4</field></shadow></value></block></value></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">2</field></shadow></value></block></value></block></value><statement name="DO"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBrickStairs</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">64</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="controls_if"><mutation elseif="2" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">-90</field></shadow></value></block></value><statement name="DO0"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">-180</field></shadow></value></block></value><statement name="DO1"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></next></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">90</field></shadow></value></block></value><statement name="DO2"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftBlockData"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Wool</field></shadow></value><value name="data"><block type="argument_reporter_number"><field name="VALUE">colourID</field></block></value></block></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">3</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field></block></value></block></value><value name="y"><block type="variables_get"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">3</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field></block></value></block></value></block></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field></block></value></block></value><value name="y"><block type="variables_get"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field></block></value></block></value></block></value></block></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="variables_change"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="-$)U0Ow+A;t`)_nbRTo!">orientation</field></block></value></block></value><statement name="DO"><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBrickStairs</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><comment pinned="false" h="80" w="160">Make a door hole</comment><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">3</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">4</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="pxt_controls_for"><comment pinned="false" h="80" w="160">Start building stairs and decorating tower</comment><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="C,%4t_ZlLx5ik`wgVGkP">y2</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">3</field></shadow></value></block></value><statement name="DO"><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">3</field></shadow></value><statement name="DO"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value></block></next></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">3</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftAgentDetect"><field name="kind">AgentDetection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftBlockData"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="function_call_output"><mutation name="GetGlassColour" functionid=")ntJDAIE`Heo!+vN?dSS"><arg name="colourID" id="7dyrou976lkfbemkd124" type="number"></arg></mutation><value name="7dyrou976lkfbemkd124"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number"><field name="VALUE">colourID</field></block></value></block></value><value name="data"><block type="argument_reporter_number"><field name="VALUE">colourID</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value></block></statement><statement name="ELSE"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftAgentDetect"><field name="kind">AgentDetection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.SoulCampfire</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value></block></statement><statement name="ELSE"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftBlockData"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="function_call_output"><mutation name="GetPaneColour" functionid="B8iOIG@9Uv9r)OGwUEVn"><arg name="colourID" id="eu23pt7jq2db2y40wxes" type="number"></arg></mutation><value name="eu23pt7jq2db2y40wxes"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number"><field name="VALUE">colourID</field></block></value></block></value><value name="data"><block type="argument_reporter_number"><field name="VALUE">colourID</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="towerRoom" functionid="C..**#@t6w-RH8L8;;!n"></mutation><field name="function_name">towerRoom</field><statement name="STACK"><block type="function_call"><mutation name="towerDecorativeRoom" functionid="+egl]6pGbBwwp;Fox=Uc"><arg name="colourID" id="s1y8au1xm0fqbh35p7g8tk" type="number"></arg></mutation><value name="s1y8au1xm0fqbh35p7g8tk"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="device_random"><value name="min"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="limit"><shadow type="math_number"><field name="NUM">15</field></shadow></value></block></value></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="towerDecorativeRoom" functionid="+egl]6pGbBwwp;Fox=Uc"><arg name="colourID" id="s1y8au1xm0fqbh35p7g8tk" type="number"></arg></mutation><field name="function_name">towerDecorativeRoom</field><value name="s1y8au1xm0fqbh35p7g8tk"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">colourID</field></block></value><statement name="STACK"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="minecraftFill"><field name="operator">FillOperation.Hollow</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">4</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">2</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">4</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-4</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">6</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">-4</field></shadow></value></shadow></value></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Destroy</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">3</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">2</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">3</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-3</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">6</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">-3</field></shadow></value></shadow></value></block></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.PolishedTuffWall</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">9</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">9</field></shadow></value><next><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="W^EsvS6f-)aa^Xb)Q|5V">index4</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">2</field></shadow></value><statement name="DO"><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="function_call"><mutation name="towersurprise" functionid="a7oeRMIIe2?;[DQ;j;k#"></mutation><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">5</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">9</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">10</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">10</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">3</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">3</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">10</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">10</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">10</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">9</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">8</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value></block></next></block></next></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">4</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">4</field></shadow></value><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.ChiseledStoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-2</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-3</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">-2</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">2</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-3</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">2</field></shadow></value></shadow></value></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.EmeraldBlock</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-2</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-2</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">-2</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">2</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-2</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">2</field></shadow></value></shadow></value></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.EmeraldBlock</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">1</field></shadow></value></shadow></value></block></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Beacon</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="function_call_output"><mutation name="GetGlassColour" functionid=")ntJDAIE`Heo!+vN?dSS"><arg name="colourID" id="7dyrou976lkfbemkd124" type="number"></arg></mutation><value name="7dyrou976lkfbemkd124"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number"><field name="VALUE">colourID</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="tunnelDown" functionid="zIYj=xB@KRszZ7!~lypA"><arg name="distance" id="lngfy0vs1wcznm92xbgd" type="number"></arg><arg name="width" id="nc5vt3utfaphm42adsxm" type="number"></arg><arg name="height" id="b8rvy2kb9s22yewa6y9k5" type="number"></arg></mutation><field name="function_name">tunnelDown</field><value name="lngfy0vs1wcznm92xbgd"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">distance</field></block></value><value name="nc5vt3utfaphm42adsxm"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">width</field></block></value><value name="b8rvy2kb9s22yewa6y9k5"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">height</field></block></value><statement name="STACK"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">5</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">distance</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><block type="argument_reporter_number"><field name="VALUE">height</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="djSQeMkn?-tx8R#u+@%w">error</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_operation"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation"><field name="OP">OR</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftTestForBlock"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="pos"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftTestForBlock"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Water</field></shadow></value><value name="pos"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftTestForBlock"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Lava</field></shadow></value><value name="pos"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value></block></value></block></value><next><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get"><field name="VAR" id="djSQeMkn?-tx8R#u+@%w">error</field></block></value><statement name="DO0"><block type="function_return"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="djSQeMkn?-tx8R#u+@%w">error</field></block></value></block></statement></block></next></block></next></block></next></block></statement><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><block type="argument_reporter_number"><field name="VALUE">height</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">5</field></shadow></value></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="variables_change"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBrickStairs</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">width</field></block></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">false</field></shadow></value><next><block type="function_return"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="djSQeMkn?-tx8R#u+@%w">error</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" x="10" y="10"><mutation name="tunnelUp" functionid="kG+D|`/L@TdWN(r1XD_q"><arg name="distance" id="74jrixngr267n3loaj0h2" type="number"></arg><arg name="width" id="o2zb36yjskciqmz7gpk8t" type="number"></arg><arg name="height" id="8dcn1goaobn4i9398bbxf" type="number"></arg></mutation><field name="function_name">tunnelUp</field><value name="74jrixngr267n3loaj0h2"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">distance</field></block></value><value name="o2zb36yjskciqmz7gpk8t"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">width</field></block></value><value name="8dcn1goaobn4i9398bbxf"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">height</field></block></value><statement name="STACK"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">5</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="for (let index10 = 0; index10 < distance; index10++ && !error2) {" line1=" for (let index11 = 0; index11 < width - 1; index11++) {" line2=" blocks.fill(" line3=" AIR," line4=" positions.add(" line5=" agent.getPosition()," line6=" pos(0, 0, 0)" line7=" )," line8=" positions.add(" line9=" agent.getPosition()," line10=" pos(0, height, 0)" line11=" )," line12=" FillOperation.Replace" line13=" )" line14=" agent.move(RIGHT, 1)" line15=" error2 = blocks.testForBlock(AIR, positions.add(agent.getPosition(), pos(0, -1, 0)))" line16=" || blocks.testForBlock(WATER, positions.add(agent.getPosition(), pos(0, -1, 0)))" line17=" || blocks.testForBlock(LAVA, positions.add(agent.getPosition(), pos(0, -1, 0)))" line18=" if (error2) return error2;" line19=" }" line20="" line21=" blocks.fill(" line22=" AIR," line23=" positions.add(" line24=" agent.getPosition()," line25=" pos(0, 0, 0)" line26=" )," line27=" positions.add(" line28=" agent.getPosition()," line29=" pos(0, height, 0)" line30=" )," line31=" FillOperation.Replace" line32=" )" line33=" if (torchfrequency == 0) {" line34=" agent.setItem(TORCH, 2, 1)" line35=" agent.move(UP, 1)" line36=" agent.place(RIGHT)" line37=" agent.move(DOWN, 1)" line38=" }" line39=" agent.move(LEFT, width - 1)" line40=" if (torchfrequency == 0) {" line41=" agent.move(UP, 1)" line42=" agent.place(LEFT)" line43=" agent.move(DOWN, 1)" line44=" torchfrequency = 5" line45=" } else {" line46=" torchfrequency += -1" line47=" }" line48=" agent.move(FORWARD, 1)" line49=" agent.move(UP, 1)" line50=" agent.setItem(STONE_BRICK_STAIRS, width, 1)" line51=" for (let index12 = 0; index12 < width - 1; index12++) {" line52=" agent.destroy(DOWN)" line53=" agent.place(DOWN)" line54=" agent.move(RIGHT, 1)" line55=" }" line56=" agent.destroy(DOWN)" line57=" agent.place(DOWN)" line58=" agent.move(LEFT, width - 1)" line59=" }" numlines="60"></mutation><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">false</field></shadow></value><next><block type="function_return"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="`hITzgQz^XkfVt1l|~Y~">error2</field></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="pxt-on-start" x="56" y="74"><statement name="HANDLER"><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let torchfrequency = 0" numlines="1" declaredvars="torchfrequency"></mutation><next><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let colourID = 0" numlines="1" declaredvars="colourID"></mutation><next><block type="variables_set"><field name="VAR" id="ek8*k}uwI@dI*hP.B+Cp">brick1</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="5J;ZD*F286:4jd-ILPBY">brick2</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="_oIAM64_pkL)X^T2PT2T">brick3</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="c}a.W`{t*VK36HUElM`;">lightid</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="@FzUx;B4+j=bQ:d!4[uy">brick4</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="YNw=*)^UGAo2}J^(ca0P">stairtype</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="tpkZBLQ,,@)0)/}VxNL:">num1</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let y6 = 0" numlines="1" declaredvars="y6"></mutation><next><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="let error2 = false" numlines="1" declaredvars="error2"></mutation><next><block type="variables_set"><field name="VAR" id="xtpvB*/mizTK+su$%,(b">gradient</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="minecraftSay"><value name="message"><shadow type="text"><field name="TEXT"></field></shadow><block type="text_join"><mutation items="2"></mutation><value name="ADD0"><shadow type="text"><field name="TEXT"></field></shadow><block type="minecraftMyName"></block></value><value name="ADD1"><shadow type="text"><field name="TEXT"> has loaded Mr Pike's Coding Tools</field></shadow></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="1354" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text"><field name="TEXT">towerroom</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="towerRoom" functionid="C..**#@t6w-RH8L8;;!n"></mutation></block></statement></block><block type="function_definition" x="870" y="52"><mutation name="towerSegment" functionid="2GI+gc3o+F9ZX_`M8OT1"><arg name="floors" id="kfp1izj80wg3jcpuhidfme" type="number"></arg></mutation><field name="function_name">towerSegment</field><value name="kfp1izj80wg3jcpuhidfme"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">floors</field></block></value><statement name="STACK"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="variables_set"><field name="VAR" id="-$)U0Ow+A;t`)_nbRTo!">orientation</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Hollow</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">4</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">4</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">-4</field></shadow></value><value name="y"><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">-4</field></shadow></value></block></value></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">2</field></shadow></value></block></value></block></value><statement name="DO"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBrickStairs</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">64</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="controls_if"><mutation elseif="2" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">-90</field></shadow></value></block></value><statement name="DO0"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">-180</field></shadow></value></block></value><statement name="DO1"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></next></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">90</field></shadow></value></block></value><statement name="DO2"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">3</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field></block></value></block></value><value name="y"><block type="variables_get"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">3</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field></block></value></block></value></block></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field></block></value></block></value><value name="y"><block type="variables_get"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field></block></value></block></value></block></value></block></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="variables_change"><field name="VAR" id="0|eFyl;bwrb+Mu5HMd)S">y6</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">NEQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="-$)U0Ow+A;t`)_nbRTo!">orientation</field></block></value></block></value><statement name="DO"><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBrickStairs</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><comment pinned="false" h="80" w="160">Make a door hole</comment><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">3</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">4</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="pxt_controls_for"><comment pinned="false" h="80" w="160">Start building stairs and decorating tower</comment><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id=".T,|/i_2?RV8_|fy$i{g">y</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">floors</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">3</field></shadow></value></block></value><statement name="DO"><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">3</field></shadow></value><statement name="DO"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value></block></next></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">3</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftAgentDetect"><field name="kind">AgentDetection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Glass</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value></block></statement><statement name="ELSE"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftAgentDetect"><field name="kind">AgentDetection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.SoulCampfire</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value></block></statement><statement name="ELSE"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.IronBars</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="1704" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="radius"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><comment pinned="false" h="80" w="160">Agent Controls</comment><value name="command"><shadow type="text"><field name="TEXT">turnagent</field></shadow></value><statement name="HANDLER"><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value></block></statement><next><block type="minecraftSay"><value name="message"><shadow type="text"><field name="TEXT"></field></shadow><block type="minecraftAgentGetOrientation"></block></value></block></next></block></statement></block><block type="minecraftOnChat" x="2151" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="2" arg0="distance" arg1="width"></mutation><field name="HANDLER_num1" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><field name="HANDLER_num2" id="^[t/aB+[B~`3GZ}ZT];C">width</field><comment pinned="false" h="80" w="160">Bridge Building</comment><value name="command"><shadow type="text"><field name="TEXT">bridge</field></shadow></value><statement name="HANDLER"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value><statement name="DO"><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><statement name="DO"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.ChiseledStoneBricks</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="typescript_statement"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="agent.setItem(139, 2, 2)" numlines="1"></mutation><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Right</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="variables_change"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">false</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="2819" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="distance" arg1="width" arg2="height"></mutation><field name="HANDLER_num1" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><field name="HANDLER_num2" id="^[t/aB+[B~`3GZ}ZT];C">width</field><field name="HANDLER_num3" id="g{C0l!Pc-R)+ABb=2=(K">height</field><comment pinned="false" h="80" w="160">Legacy Agent Code</comment><value name="command"><shadow type="text"><field name="TEXT">tunnel</field></shadow></value><statement name="HANDLER"><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">5</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value><statement name="DO"><block type="controls_repeat_ext"><value name="TIMES"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><shadow type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></shadow></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="y"><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><value name="z"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value></block></value><next><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><next><block type="controls_if"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">5</field></shadow></value></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="variables_change"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></statement><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">false</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="3454" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="width"></mutation><field name="HANDLER_num1" id="^[t/aB+[B~`3GZ}ZT];C">width</field><value name="command"><shadow type="text"><field name="TEXT">square</field></shadow></value><statement name="HANDLER"><block type="minecraftFill"><field name="operator">FillOperation.Replace</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.StoneBricks</field></shadow></value><value name="from"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-0.5</field></shadow></value></block></value><value name="y"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="z"><block type="math_arithmetic"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-0.5</field></shadow></value></block></value></block></value><value name="to"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">2</field></shadow></value></block></value><value name="y"><shadow type="math_number"><field name="NUM">0</field></shadow></value><value name="z"><block type="math_arithmetic"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">2</field></shadow></value></block></value></block></value></block></statement></block><block type="minecraftOnChat" x="4128" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text"><field name="TEXT">getagent</field></shadow></value><statement name="HANDLER"><block type="minecraftAgentTeleport"></block></statement></block><block type="minecraftOnChat" x="4470" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="radius" arg1="h" arg2="y"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><field name="HANDLER_num2" id=":Aa(Z(9rVdJ^DCN+VBTM">h</field><field name="HANDLER_num3" id=".T,|/i_2?RV8_|fy$i{g">y</field><value name="command"><shadow type="text"><field name="TEXT">oakcircle</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><value name="a5oapmm6q8ht31whxiu27e"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="qq2nlvcqocms5f1n1wo1b"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id=":Aa(Z(9rVdJ^DCN+VBTM">h</field></block></value><value name="xb36y7uxwj473zzf2etuz"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="minecraftBlock"><field name="block">Block.PlanksOak</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id=".T,|/i_2?RV8_|fy$i{g">y</field></block></value></block></statement></block><block type="minecraftOnChat" x="4990" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text"><field name="TEXT">createhubbase</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><value name="a5oapmm6q8ht31whxiu27e"><shadow type="math_number"><field name="NUM">8</field></shadow></value><value name="qq2nlvcqocms5f1n1wo1b"><shadow type="math_number"><field name="NUM">2</field></shadow></value><value name="xb36y7uxwj473zzf2etuz"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="minecraftBlock"><field name="block">Block.PolishedAndesite</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="function_call"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><value name="a5oapmm6q8ht31whxiu27e"><shadow type="math_number"><field name="NUM">7</field></shadow></value><value name="qq2nlvcqocms5f1n1wo1b"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="xb36y7uxwj473zzf2etuz"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="minecraftBlock"><field name="block">Block.PolishedAndesite</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="function_call"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><value name="a5oapmm6q8ht31whxiu27e"><shadow type="math_number"><field name="NUM">6</field></shadow></value><value name="qq2nlvcqocms5f1n1wo1b"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="xb36y7uxwj473zzf2etuz"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="minecraftBlock"><field name="block">Block.PolishedAndesite</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><shadow type="math_number"><field name="NUM">2</field></shadow></value></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="6849" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="radius" arg1="height" arg2="offsetY"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><field name="HANDLER_num2" id="g{C0l!Pc-R)+ABb=2=(K">height</field><field name="HANDLER_num3" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field><value name="command"><shadow type="text"><field name="TEXT">clonecircle</field></shadow></value><statement name="HANDLER"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="7CyJnR6r%@dcy_q8|B3X">y22</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="7CyJnR6r%@dcy_q8|B3X">y22</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value></block></value><statement name="DO0"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value></block></value></block></value><statement name="DO0"><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="7CyJnR6r%@dcy_q8|B3X">y22</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="7CyJnR6r%@dcy_q8|B3X">y22</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="7CyJnR6r%@dcy_q8|B3X">y22</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="omdr5lKp3Sj;Zd%:%i1o">x2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="7CyJnR6r%@dcy_q8|B3X">y22</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Co8ON=N*KGiI=z{s^9Zy">ddz2</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block><block type="minecraftOnChat" x="9673" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text"><field name="TEXT">autoladder</field></shadow></value><statement name="HANDLER"><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftAgentDetect"><field name="kind">AgentDetection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="minecraftAgentDetect"><field name="kind">AgentDetection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value></block></value></block></value></block></value><statement name="DO"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Ladder</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement></block></statement></block><block type="function_definition" x="-609" y="5067"><mutation name="tunnelSegment" functionid="lu,xC2YZ8Q}-dVpu^`$?"><arg name="distance" id="ha2yz1x0tiaw8ryapkabt" type="number"></arg><arg name="width" id="dvdmjnf45pnq16ix1lp6" type="number"></arg><arg name="height" id="gseune3n4bpp9staitwh1" type="number"></arg></mutation><field name="function_name">tunnelSegment</field><comment pinned="false" h="80" w="160">Tunnel Building</comment><value name="ha2yz1x0tiaw8ryapkabt"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">distance</field></block></value><value name="dvdmjnf45pnq16ix1lp6"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">width</field></block></value><value name="gseune3n4bpp9staitwh1"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">height</field></block></value></block><block type="minecraftOnChat" x="20" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="1" arg0="height"></mutation><field name="HANDLER_num1" id="g{C0l!Pc-R)+ABb=2=(K">height</field><comment pinned="false" h="80" w="160">Tower building</comment><value name="command"><shadow type="text"><field name="TEXT">towerfast</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="towerSegment" functionid="2GI+gc3o+F9ZX_`M8OT1"><arg name="floors" id="kfp1izj80wg3jcpuhidfme" type="number"></arg></mutation><value name="kfp1izj80wg3jcpuhidfme"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="function_call"><mutation name="towerRoom" functionid="C..**#@t6w-RH8L8;;!n"></mutation></block></next></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="840" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text"><field name="TEXT">agentorientation</field></shadow></value><statement name="HANDLER"><block type="minecraftSay"><value name="message"><shadow type="text"><field name="TEXT"></field></shadow><block type="minecraftAgentGetOrientation"></block></value></block></statement></block><block type="minecraftOnChat" x="1252" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="distance" arg1="width" arg2="height"></mutation><field name="HANDLER_num1" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><field name="HANDLER_num2" id="^[t/aB+[B~`3GZ}ZT];C">width</field><field name="HANDLER_num3" id="g{C0l!Pc-R)+ABb=2=(K">height</field><value name="command"><shadow type="text"><field name="TEXT">tunnelup</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="tunnelUp" functionid="kG+D|`/L@TdWN(r1XD_q"><arg name="distance" id="74jrixngr267n3loaj0h2" type="number"></arg><arg name="width" id="o2zb36yjskciqmz7gpk8t" type="number"></arg><arg name="height" id="8dcn1goaobn4i9398bbxf" type="number"></arg></mutation><value name="74jrixngr267n3loaj0h2"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value><value name="o2zb36yjskciqmz7gpk8t"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="8dcn1goaobn4i9398bbxf"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value></block></statement></block><block type="minecraftOnChat" x="1918" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="radius" arg1="h" arg2="y"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><field name="HANDLER_num2" id=":Aa(Z(9rVdJ^DCN+VBTM">h</field><field name="HANDLER_num3" id=".T,|/i_2?RV8_|fy$i{g">y</field><value name="command"><shadow type="text"><field name="TEXT">glasscircle</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><value name="a5oapmm6q8ht31whxiu27e"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="qq2nlvcqocms5f1n1wo1b"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id=":Aa(Z(9rVdJ^DCN+VBTM">h</field></block></value><value name="xb36y7uxwj473zzf2etuz"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="minecraftBlock"><field name="block">Block.Glass</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id=".T,|/i_2?RV8_|fy$i{g">y</field></block></value></block></statement></block><block type="minecraftOnChat" x="2456" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="radius" arg1="h" arg2="y"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><field name="HANDLER_num2" id=":Aa(Z(9rVdJ^DCN+VBTM">h</field><field name="HANDLER_num3" id=".T,|/i_2?RV8_|fy$i{g">y</field><value name="command"><shadow type="text"><field name="TEXT">fillcircle</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><value name="a5oapmm6q8ht31whxiu27e"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="qq2nlvcqocms5f1n1wo1b"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id=":Aa(Z(9rVdJ^DCN+VBTM">h</field></block></value><value name="xb36y7uxwj473zzf2etuz"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="minecraftBlock"><field name="block">Block.PolishedAndesite</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id=".T,|/i_2?RV8_|fy$i{g">y</field></block></value></block></statement></block><block type="minecraftOnChat" x="2986" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="radius" arg1="height" arg2="offsetY"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><field name="HANDLER_num2" id="g{C0l!Pc-R)+ABb=2=(K">height</field><field name="HANDLER_num3" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field><value name="command"><shadow type="text"><field name="TEXT">clonecylinder</field></shadow></value><statement name="HANDLER"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="OAg~b6ogZLPk%h*WuX,_">y32</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="OAg~b6ogZLPk%h*WuX,_">y32</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value></block></value><statement name="DO0"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation"><field name="OP">AND</field><value name="A"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value></block></value><value name="B"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value></block></value></block></value></block></value><statement name="DO0"><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="OAg~b6ogZLPk%h*WuX,_">y32</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="OAg~b6ogZLPk%h*WuX,_">y32</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="OAg~b6ogZLPk%h*WuX,_">y32</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Q3jrHtBe^e]1aPO5)0/}">x3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="OAg~b6ogZLPk%h*WuX,_">y32</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="EQgI8A,8N=@eDhW%j{mJ">ddz3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block><block type="minecraftOnChat" x="6079" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text"><field name="TEXT">inspect</field></shadow></value><statement name="HANDLER"><block type="minecraftSay"><value name="message"><shadow type="text"><field name="TEXT"></field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Block</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value></block></value><next><block type="minecraftSay"><value name="message"><shadow type="text"><field name="TEXT"></field></shadow><block type="minecraftAgentInspect"><field name="kind">AgentInspection.Data</field><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value></block></value></block></next></block></statement></block><block type="minecraftOnChat" x="7188" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="distance" arg1="width" arg2="height"></mutation><field name="HANDLER_num1" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><field name="HANDLER_num2" id="^[t/aB+[B~`3GZ}ZT];C">width</field><field name="HANDLER_num3" id="g{C0l!Pc-R)+ABb=2=(K">height</field><value name="command"><shadow type="text"><field name="TEXT">glasstunnel</field></shadow></value><statement name="HANDLER"><block type="controls_if"><mutation elseif="3" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set"><field name="VAR" id="Wss1jw0^)?L?)R^[R;rk">dwx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="%_5n}m)iVnYsO/S*tli$">dwz</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="!(S)S9{fjiNF8zJ[GPH2">ddx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="KL($XKWE5.L^R8^dOS9p">ddz5</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">90</field></shadow></value></block></value><statement name="DO1"><block type="variables_set"><field name="VAR" id="Wss1jw0^)?L?)R^[R;rk">dwx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="%_5n}m)iVnYsO/S*tli$">dwz</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="!(S)S9{fjiNF8zJ[GPH2">ddx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="KL($XKWE5.L^R8^dOS9p">ddz5</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">180</field></shadow></value></block></value><statement name="DO2"><block type="variables_set"><field name="VAR" id="Wss1jw0^)?L?)R^[R;rk">dwx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="%_5n}m)iVnYsO/S*tli$">dwz</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="!(S)S9{fjiNF8zJ[GPH2">ddx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="KL($XKWE5.L^R8^dOS9p">ddz5</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="minecraftAgentGetOrientation"></block></value><value name="B"><shadow type="math_number"><field name="NUM">270</field></shadow></value></block></value><statement name="DO3"><block type="variables_set"><field name="VAR" id="Wss1jw0^)?L?)R^[R;rk">dwx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="%_5n}m)iVnYsO/S*tli$">dwz</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="!(S)S9{fjiNF8zJ[GPH2">ddx</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="KL($XKWE5.L^R8^dOS9p">ddz5</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow></value><next><block type="variables_set"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field><value name="VALUE"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><next><block type="variables_set"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="variables_set"><field name="VAR" id="[!!u_(~-+(jM}4KF_{N3">x5</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Wss1jw0^)?L?)R^[R;rk">dwx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="!(S)S9{fjiNF8zJ[GPH2">ddx</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value></block></value></block></value><next><block type="variables_set"><field name="VAR" id="s)aAEj%%F(*RQk9xvJ9Z">z</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="%_5n}m)iVnYsO/S*tli$">dwz</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="KL($XKWE5.L^R8^dOS9p">ddz5</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value></block></value></block></value><next><block type="minecraftFill"><field name="operator">FillOperation.Hollow</field><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Glass</field></shadow></value><value name="from"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><block type="variables_get"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field></block></value><value name="y"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="z"><block type="variables_get"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field></block></value></block></value></block></value><value name="to"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAddPosition"><value name="p1"><shadow type="minecraftCreatePosition"></shadow><block type="minecraftAgentGetPosition"></block></value><value name="p2"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="[!!u_(~-+(jM}4KF_{N3">x5</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Wno+bnF5+O.}icnuPPe$">offsetX</field></block></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="s)aAEj%%F(*RQk9xvJ9Z">z</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="v%}+_;M,U_N^X$h|wJ7J">offsetZ</field></block></value></block></value></block></value></block></value><next><block type="variables_set"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field><value name="VALUE"><shadow type="math_number"><field name="NUM">8</field></shadow></value><next><block type="device_while"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value></block></value><statement name="DO"><block type="variables_change"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">-1</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value></block></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.SeaLantern</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><block type="variables_get"><field name="VAR" id="Yen?,Lf{zC_My7su)+xi">torchfrequency</field></block></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><block type="math_arithmetic"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="minecraftOnChat" x="8116" y="5083"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="radius" arg1="height" arg2="offsetY"></mutation><field name="HANDLER_num1" id="PA.:]m.)HG_X7h(?CZ)^">radius</field><field name="HANDLER_num2" id="g{C0l!Pc-R)+ABb=2=(K">height</field><field name="HANDLER_num3" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field><value name="command"><shadow type="text"><field name="TEXT">clearcircle</field></shadow></value><statement name="HANDLER"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id=",?dj+0)cjyGzKg~k~1;l">y4</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id=",?dj+0)cjyGzKg~k~1;l">y4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value></block></value><statement name="DO0"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="PA.:]m.)HG_X7h(?CZ)^">radius</field></block></value></block></value></block></value><statement name="DO0"><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id=",?dj+0)cjyGzKg~k~1;l">y4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id=",?dj+0)cjyGzKg~k~1;l">y4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id=",?dj+0)cjyGzKg~k~1;l">y4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Air</field></shadow></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="zP7^)VBN|CH8}nR/A~7s">x4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id=",?dj+0)cjyGzKg~k~1;l">y4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="6_,rZ$n#6M]Q2dP[8sW6">offsetY</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="?;rTXdOY~7E1%`u;X1)G">ddz4</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block><block type="minecraftOnChat" x="20" y="10930"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="3" arg0="distance" arg1="width" arg2="height"></mutation><field name="HANDLER_num1" id="X2Ui8@{QQzMC3GMYnSaE">distance</field><field name="HANDLER_num2" id="^[t/aB+[B~`3GZ}ZT];C">width</field><field name="HANDLER_num3" id="g{C0l!Pc-R)+ABb=2=(K">height</field><value name="command"><shadow type="text"><field name="TEXT">tunneldown</field></shadow></value><statement name="HANDLER"><block type="function_call"><mutation name="tunnelDown" functionid="zIYj=xB@KRszZ7!~lypA"><arg name="distance" id="lngfy0vs1wcznm92xbgd" type="number"></arg><arg name="width" id="nc5vt3utfaphm42adsxm" type="number"></arg><arg name="height" id="b8rvy2kb9s22yewa6y9k5" type="number"></arg></mutation><value name="lngfy0vs1wcznm92xbgd"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="X2Ui8@{QQzMC3GMYnSaE">distance</field></block></value><value name="nc5vt3utfaphm42adsxm"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="^[t/aB+[B~`3GZ}ZT];C">width</field></block></value><value name="b8rvy2kb9s22yewa6y9k5"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="variables_get"><field name="VAR" id="g{C0l!Pc-R)+ABb=2=(K">height</field></block></value></block></statement></block><block type="function_definition" x="686" y="10930"><mutation name="towersurprise" functionid="a7oeRMIIe2?;[DQ;j;k#"></mutation><field name="function_name">towersurprise</field><statement name="STACK"><block type="variables_set"><field name="VAR" id="rEh~DmXj{0%?tlkDJL=,">index62</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random"><value name="min"><shadow type="math_number"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number"><field name="NUM">5</field></shadow></value></block></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">8</field></shadow></value><next><block type="controls_if"><mutation elseif="3" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="rEh~DmXj{0%?tlkDJL=,">index62</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.MonsterSpawner</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">8</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="variables_set"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" inline="false"><mutation items="4" horizontalafter="3"></mutation><value name="ADD0"><block type="minecraftMonster"><field name="name">MonsterMob.Zombie</field></block></value><value name="ADD1"><block type="minecraftMonster"><field name="name">MonsterMob.Creeper</field></block></value><value name="ADD2"><block type="minecraftMonster"><field name="name">MonsterMob.Skeleton</field></block></value><value name="ADD3"><block type="minecraftMonster"><field name="name">MonsterMob.Spider</field></block></value></block></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">8</field></shadow></value><next><block type="minecraftAgentInteract"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></next></block></next></block></next></block></next></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="rEh~DmXj{0%?tlkDJL=,">index62</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">2</field></shadow></value></block></value><statement name="DO1"><block type="variables_set"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" inline="false"><mutation items="28" horizontalafter="3"></mutation><value name="ADD0"><block type="minecraftBlock"><field name="block">Block.Chest</field></block></value><value name="ADD1"><block type="minecraftBlock"><field name="block">Block.Chest</field></block></value><value name="ADD2"><block type="minecraftBlock"><field name="block">Block.Bookshelf</field></block></value><value name="ADD3"><block type="minecraftBlock"><field name="block">Block.EnchantmentTable</field></block></value><value name="ADD4"><block type="minecraftBlock"><field name="block">Block.Dispenser</field></block></value><value name="ADD5"><block type="minecraftBlock"><field name="block">Block.Bookshelf</field></block></value><value name="ADD6"><block type="minecraftBlock"><field name="block">Block.Furnace</field></block></value><value name="ADD7"><block type="minecraftBlock"><field name="block">Block.CraftingTable</field></block></value><value name="ADD8"><block type="minecraftBlock"><field name="block">Block.BrewingStand</field></block></value><value name="ADD9"><block type="minecraftBlock"><field name="block">Block.Cauldron</field></block></value><value name="ADD10"><block type="minecraftBlock"><field name="block">Block.CartographyTable</field></block></value><value name="ADD11"><block type="minecraftBlock"><field name="block">Block.ChiseledStoneBricks</field></block></value><value name="ADD12"><block type="minecraftBlock"><field name="block">Block.Barrel</field></block></value><value name="ADD13"><block type="minecraftBlock"><field name="block">Block.FletchingTable</field></block></value><value name="ADD14"><block type="minecraftBlock"><field name="block">Block.BlastFurnace</field></block></value><value name="ADD15"><block type="minecraftBlock"><field name="block">Block.StonecutterBlock</field></block></value><value name="ADD16"><block type="minecraftBlock"><field name="block">Block.Smoker</field></block></value><value name="ADD17"><block type="minecraftBlock"><field name="block">Block.Jukebox</field></block></value><value name="ADD18"><block type="minecraftBlock"><field name="block">Block.SmithingTable</field></block></value><value name="ADD19"><block type="minecraftBlock"><field name="block">Block.Campfire</field></block></value><value name="ADD20"><block type="minecraftBlock"><field name="block">Block.Crafter</field></block></value><value name="ADD21"><block type="minecraftBlock"><field name="block">Block.Loom</field></block></value><value name="ADD22"><block type="minecraftBlock"><field name="block">Block.Composter</field></block></value><value name="ADD23"><block type="minecraftBlock"><field name="block">Block.BambooMosaicStairs</field></block></value><value name="ADD24"><block type="minecraftBlock"><field name="block">Block.Barrel</field></block></value><value name="ADD25"><block type="minecraftBlock"><field name="block">Block.MossyStoneBricks</field></block></value><value name="ADD26"><block type="minecraftBlock"><field name="block">Block.Air</field></block></value><value name="ADD27"><block type="minecraftBlock"><field name="block">Block.Cobweb</field></block></value></block></value><next><block type="minecraftAgentCommandDropAll"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.PlaceFromAnySlot</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">2</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">3</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">4</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">5</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">6</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id=")6!cB%3%)dQ!pN{#2W9M">index5</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">2</field></shadow></value><statement name="DO"><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="6$uLRRatL!)7#9IpdQG~">index6</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">3</field></shadow></value><statement name="DO"><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></statement><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="minecraftAgentTurn"><value name="direction"><shadow type="minecraftAgentTurnDirection"><field name="direction">TurnDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.PlaceFromAnySlot</field><value name="on"><shadow type="toggleOnOff"><field name="on">false</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="rEh~DmXj{0%?tlkDJL=,">index62</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">3</field></shadow></value></block></value><statement name="DO2"><block type="variables_set"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" inline="false"><mutation items="28" horizontalafter="3"></mutation><value name="ADD0"><block type="minecraftBlock"><field name="block">Block.TNT</field></block></value><value name="ADD1"><block type="minecraftBlock"><field name="block">Block.Furnace</field></block></value><value name="ADD2"><block type="minecraftBlock"><field name="block">Block.CraftingTable</field></block></value><value name="ADD3"><block type="minecraftBlockData"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Bed</field></shadow></value><value name="data"><block type="variables_get"><field name="VAR" id="4#RG~C4n2_epSB:${2o]">colourID</field></block></value></block></value><value name="ADD4"><block type="minecraftBlock"><field name="block">Block.Jukebox</field></block></value><value name="ADD5"><block type="minecraftBlock"><field name="block">Block.JackOLantern</field></block></value><value name="ADD6"><block type="minecraftBlock"><field name="block">Block.Cake</field></block></value><value name="ADD7"><block type="minecraftBlock"><field name="block">Block.EnchantmentTable</field></block></value><value name="ADD8"><block type="minecraftBlock"><field name="block">Block.BrewingStand</field></block></value><value name="ADD9"><block type="minecraftBlock"><field name="block">Block.Cauldron</field></block></value><value name="ADD10"><block type="minecraftBlock"><field name="block">Block.EnderChest</field></block></value><value name="ADD11"><block type="minecraftBlock"><field name="block">Block.Anvil</field></block></value><value name="ADD12"><block type="minecraftBlock"><field name="block">Block.CartographyTable</field></block></value><value name="ADD13"><block type="minecraftBlock"><field name="block">Block.FletchingTable</field></block></value><value name="ADD14"><block type="minecraftBlock"><field name="block">Block.Campfire</field></block></value><value name="ADD15"><block type="minecraftBlock"><field name="block">Block.SoulCampfire</field></block></value><value name="ADD16"><block type="minecraftBlock"><field name="block">Block.AmethystCluster</field></block></value><value name="ADD17"><block type="minecraftBlock"><field name="block">Block.StonecutterBlock</field></block></value><value name="ADD18"><block type="minecraftBlock"><field name="block">Block.Smoker</field></block></value><value name="ADD19"><block type="minecraftBlock"><field name="block">Block.SmithingTable</field></block></value><value name="ADD20"><block type="minecraftBlock"><field name="block">Block.Stonecutter</field></block></value><value name="ADD21"><block type="minecraftBlock"><field name="block">Block.Barrel</field></block></value><value name="ADD22"><block type="minecraftBlock"><field name="block">Block.Loom</field></block></value><value name="ADD23"><block type="minecraftBlock"><field name="block">Block.Bell</field></block></value><value name="ADD24"><block type="minecraftBlock"><field name="block">Block.SculkShrieker</field></block></value><value name="ADD25"><block type="minecraftBlock"><field name="block">Block.BeeNest</field></block></value><value name="ADD26"><block type="minecraftBlock"><field name="block">Block.Scaffolding</field></block></value><value name="ADD27"><block type="minecraftBlock"><field name="block">Block.Fire</field></block></value></block></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="array_pickRandom"><value name="list"><block type="variables_get"><field name="VAR" id="=;RP^{,;^l;U!SFOKN:+">list</field></block></value></block></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">8</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value></block></next></block></next></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="rEh~DmXj{0%?tlkDJL=,">index62</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">4</field></shadow></value></block></value><statement name="DO3"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Chain</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">8</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Bell</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">8</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentChangeAssist"><field name="assist">AgentAssist.DestroyObstacles</field><value name="on"><shadow type="toggleOnOff"><field name="on">true</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.ChiseledStoneBricks</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentCommandDestroy"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentSetItem"><value name="blockOrItem"><shadow type="minecraftBlock"><field name="block">Block.Torch</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64" precision="0"></mutation><field name="SLIDER">6</field></shadow></value><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">5</field></shadow></value><next><block type="minecraftAgentSetSlot"><value name="slot"><shadow type="math_number_minmax"><mutation min="1" max="27" precision="0"></mutation><field name="SLIDER">5</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Back</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentPlace"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Right</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Down</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">2</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Up</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value><next><block type="minecraftAgentMove"><value name="direction"><shadow type="minecraftAgentSixDirection"><field name="direction">SixDirection.Left</field></shadow></value><value name="blocks"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></statement></block><block type="function_definition" x="1495" y="10930"><mutation name="circle" functionid="]E.{OlTnbzioAu34Cri;"><arg name="radius" id="a5oapmm6q8ht31whxiu27e" type="number"></arg><arg name="height" id="qq2nlvcqocms5f1n1wo1b" type="number"></arg><arg name="block" id="xb36y7uxwj473zzf2etuz" type="number"></arg><arg name="ypos" id="gf4ls6mdysxmjdtexo7g" type="number"></arg></mutation><field name="function_name">circle</field><value name="a5oapmm6q8ht31whxiu27e"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">radius</field></block></value><value name="qq2nlvcqocms5f1n1wo1b"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">height</field></block></value><value name="xb36y7uxwj473zzf2etuz"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">block</field></block></value><value name="gf4ls6mdysxmjdtexo7g"><block type="argument_reporter_number"><mutation duplicateondrag="true"></mutation><field name="VALUE">ypos</field></block></value><statement name="STACK"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="hiuQpe=(2YF0UW0.~fz/">y3</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">height</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="hiuQpe=(2YF0UW0.~fz/">y3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">height</field></block></value></block></value><statement name="DO0"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">radius</field></block></value><statement name="DO"><block type="pxt_controls_for"><value name="VAR"><block type="variables_get_reporter"><mutation duplicateondrag="true"></mutation><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">radius</field></block></value><statement name="DO"><block type="controls_if"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">radius</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">radius</field></block></value></block></value></block></value><statement name="DO0"><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="argument_reporter_number"><field name="VALUE">block</field></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="hiuQpe=(2YF0UW0.~fz/">y3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">ypos</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="argument_reporter_number"><field name="VALUE">block</field></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="hiuQpe=(2YF0UW0.~fz/">y3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">ypos</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="argument_reporter_number"><field name="VALUE">block</field></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="hiuQpe=(2YF0UW0.~fz/">y3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">ypos</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value></block></value><next><block type="minecraftPlace"><value name="block"><shadow type="minecraftBlock"><field name="block">Block.Grass</field></shadow><block type="argument_reporter_number"><field name="VALUE">block</field></block></value><value name="pos"><block type="minecraftCreatePosition"><value name="x"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="@S4[E+vm_hE`zpz7hc+c">x</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">-1</field></shadow></value></block></value><value name="y"><block type="math_arithmetic"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="hiuQpe=(2YF0UW0.~fz/">y3</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number"><field name="VALUE">ypos</field></block></value></block></value><value name="z"><block type="math_arithmetic"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get"><field name="VAR" id="2v-EP)g,Z:d+[=Av1!Nt">ddz</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">1</field></shadow></value></block></value></block></value></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></statement></block></statement></block></statement></block></xml>