-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 11.6 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="(rprHjd!WavJFvkW(uHe" x="20" y="20"><statement name="HANDLER"><block type="typescript_statement" id="IYuB?X+rpfA~${x}{[_M" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="function turn(direction: TurnDirection, a: number) {" line1=" if (a < 0) {" line2=" direction = direction == TurnDirection.Left ? TurnDirection.Right: TurnDirection.Left;" line3=" }" line4=" agent.turn(direction)" line5="}" numlines="6"></mutation></block></statement></block><block type="minecraftOnChat" id="wHYk)Fh%QM{U5Q5L9pfs" x="1002" y="20"><mutation xmlns="http://www.w3.org/1999/xhtml" numargs="0"></mutation><value name="command"><shadow type="text" id="-%;Ay5@W+M:Z[MP|[)Y="><field name="TEXT">hilbert</field></shadow></value><statement name="HANDLER"><block type="minecraftAgentChangeAssist" id=",7|u8Sy}[FlP(?1Q_C1D"><field name="assist">AgentAssist.PlaceOnMove</field><value name="on"><shadow type="toggleOnOff" id="A3~2#643MxW+B75nia{#"><field name="on">true</field></shadow></value><next><block type="minecraftAgentTeleport" id="gcjl`Gv)^1@n~CiEn;x."><next><block type="function_call" id="Aj:pBgBl6R`:Y_E6J.?S"><mutation name="hilbert" functionid="uT+X9*t;)oVPIsiAVka{"><arg name="n" id="ssu8uve6x19407rpxjev" type="number"></arg><arg name="a" id="gt829pdy89bp00g1jlzb7" type="number"></arg><arg name="h" id="cbsx9bfp2q2p06su8zk4r" type="number"></arg></mutation><value name="ssu8uve6x19407rpxjev"><shadow type="math_number" id="FxOxMM`5j!a}@Ib-+v28"><field name="NUM">5</field></shadow></value><value name="gt829pdy89bp00g1jlzb7"><shadow type="math_number" id="!TSw/9uF3u,~)xZ_,v7X"><field name="NUM">1</field></shadow></value><value name="cbsx9bfp2q2p06su8zk4r"><shadow type="math_number" id="5)Vi|i`HF$rR#eZuM|@z"><field name="NUM">2</field></shadow></value></block></next></block></next></block></statement></block><block type="function_definition" id="R3;U~y}u0H[f8c.r41cA" x="1475" y="20"><mutation name="hilbert" functionid="uT+X9*t;)oVPIsiAVka{"><arg name="n" id="ssu8uve6x19407rpxjev" type="number"></arg><arg name="a" id="gt829pdy89bp00g1jlzb7" type="number"></arg><arg name="h" id="cbsx9bfp2q2p06su8zk4r" type="number"></arg></mutation><field name="function_name">hilbert</field><statement name="STACK"><block type="controls_if" id="3j{4n;}Bu.4@sNthumn{"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="1o%N^Fnn(n4Ns{Yp;Yd8"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="3[edNtEu5aMS((wAg*oW"><field name="VALUE">n</field></block></value><value name="B"><shadow type="math_number" id="Py7|e0-HZwoX`tjr6bed"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="function_return" id="4.=@}VPy=|o0}}WH[|_i"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="true"></mutation></block></statement><next><block type="minecraftAgentSetSlot" id="S!O~i@rBFJcZAZX3^Xg*"><value name="slot"><shadow type="math_number_minmax" id="3`JFb5j:);7fKayN3xd`"><mutation min="1" max="27" label="Number" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="minecraftAgentSetItem" id=",4`:WWyFQr94jBS]4f/@"><value name="blockOrItem"><shadow type="minecraftBlock" id="P$K1.F8i*;D8we#B6jz9"><field name="block">Block.LapisOre</field></shadow></value><value name="count"><shadow type="math_number_minmax"><mutation min="1" max="64"></mutation><field name="SLIDER">0</field></shadow><block type="math_arithmetic" id="%=Eq)G]Sxc=9Vh=|5x6B"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="-TzT*qp}+OcwvLR_X[Ct"><field name="VALUE">h</field></block></value><value name="B"><shadow type="math_number" id="[[bB~]b9_VsQA%8Q$fP1"><field name="NUM">4</field></shadow></value></block></value><value name="slot"><shadow type="math_number_minmax" id="[}$m*o7YL(DyR:ISFdOj"><mutation min="1" max="27" label="Number" precision="0"></mutation><field name="SLIDER">1</field></shadow></value><next><block type="typescript_statement" id="_TW3k44fV$2*K8n{8k;X" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="turn(TurnDirection.Right, a)" numlines="1"></mutation><next><block type="function_call" id="fQwJ;_8o}a1`aG*2NpGc"><mutation name="hilbert" functionid="uT+X9*t;)oVPIsiAVka{"><arg name="n" id="ssu8uve6x19407rpxjev" type="number"></arg><arg name="a" id="gt829pdy89bp00g1jlzb7" type="number"></arg><arg name="h" id="cbsx9bfp2q2p06su8zk4r" type="number"></arg></mutation><value name="ssu8uve6x19407rpxjev"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="Y]AtuIAsP[nZiLFS@av_"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="MuVp7KR#N^29i:~NDE~Y"><field name="VALUE">n</field></block></value><value name="B"><shadow type="math_number" id="]jKKwkcJ{:$$X-$V[gyW"><field name="NUM">1</field></shadow></value></block></value><value name="gt829pdy89bp00g1jlzb7"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="Yb7(BTg]:QX=:htGTg}#"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="9Jty9EWc@$2y7yP4O#my"><field name="NUM">0</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="znYW3}MP*3KUkv{f-Bn_"><field name="VALUE">a</field></block></value></block></value><value name="cbsx9bfp2q2p06su8zk4r"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="}9hK^VDJ1*U++{s{hsJQ"><field name="VALUE">h</field></block></value><next><block type="minecraftAgentMove" id="qvbxK!Hd[VmAPbMt/$6M"><value name="direction"><shadow type="minecraftAgentSixDirection" id="I~y5wZ=z:Rth_*~3]mp2"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><block type="argument_reporter_number" id="eP4es{|hc,LZnJf~[.Ev"><field name="VALUE">h</field></block></value><next><block type="typescript_statement" id="j]{rjY3Z7V93rop6d$uc" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="turn(TurnDirection.Left, a);" numlines="1"></mutation><next><block type="function_call" id="y@`zb^=#w30@Yl0D4^a^"><mutation name="hilbert" functionid="uT+X9*t;)oVPIsiAVka{"><arg name="n" id="ssu8uve6x19407rpxjev" type="number"></arg><arg name="a" id="gt829pdy89bp00g1jlzb7" type="number"></arg><arg name="h" id="cbsx9bfp2q2p06su8zk4r" type="number"></arg></mutation><value name="ssu8uve6x19407rpxjev"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="Q|p_xf4lJbwx*2o30N7P"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="f.[y]LC,.H6~/qIS^-_E"><field name="VALUE">n</field></block></value><value name="B"><shadow type="math_number" id="hIekqE.Z$Pu:Ck7d|5I/"><field name="NUM">1</field></shadow></value></block></value><value name="gt829pdy89bp00g1jlzb7"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="fvOgo=V!Vi8tbPV`oeQi"><field name="VALUE">a</field></block></value><value name="cbsx9bfp2q2p06su8zk4r"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="#eB!lUl31MQ%!OT(*9t!"><field name="VALUE">h</field></block></value><next><block type="minecraftAgentMove" id="Re8#y!u~2YTW2k1_Son{"><value name="direction"><shadow type="minecraftAgentSixDirection" id="]Lt9^Tz$pb!=i9j.3zQR"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><block type="argument_reporter_number" id="tVwN{Scc:q~Dak^:pav|"><field name="VALUE">h</field></block></value><next><block type="function_call" id="ju4$vFH}Rvq-@@m77~tK"><mutation name="hilbert" functionid="uT+X9*t;)oVPIsiAVka{"><arg name="n" id="ssu8uve6x19407rpxjev" type="number"></arg><arg name="a" id="gt829pdy89bp00g1jlzb7" type="number"></arg><arg name="h" id="cbsx9bfp2q2p06su8zk4r" type="number"></arg></mutation><value name="ssu8uve6x19407rpxjev"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="8k)/AC?XoG%N=X#zIf@N"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="Gd1skkj2#PqH5FwtWTuK"><field name="VALUE">n</field></block></value><value name="B"><shadow type="math_number" id="V9(4uh4jL)_Rx@-B:I58"><field name="NUM">1</field></shadow></value></block></value><value name="gt829pdy89bp00g1jlzb7"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="TcS^Wb{6iQAs}6I=x{5{"><field name="VALUE">a</field></block></value><value name="cbsx9bfp2q2p06su8zk4r"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="zqM-nu@1BcA*2?iXkPxB"><field name="VALUE">h</field></block></value><next><block type="typescript_statement" id="!jN=8i0fpPm)izfSeo`l" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="turn(TurnDirection.Left, a);" numlines="1"></mutation><next><block type="minecraftAgentMove" id="^M!rcCQwY6J)Prg.~xB!"><value name="direction"><shadow type="minecraftAgentSixDirection" id="(rB=97=cLP0M)h7Lrf@1"><field name="direction">SixDirection.Forward</field></shadow></value><value name="blocks"><block type="argument_reporter_number" id="Ks=-ySJf+Txh[|DV5u6r"><field name="VALUE">h</field></block></value><next><block type="function_call" id="f:Xbdftt=*Z.uSFpc~D]"><mutation name="hilbert" functionid="uT+X9*t;)oVPIsiAVka{"><arg name="n" id="ssu8uve6x19407rpxjev" type="number"></arg><arg name="a" id="gt829pdy89bp00g1jlzb7" type="number"></arg><arg name="h" id="cbsx9bfp2q2p06su8zk4r" type="number"></arg></mutation><value name="ssu8uve6x19407rpxjev"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="t@}YYLhxO,%*vac0{]?L"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="Z.4Ic`lTm0(GE%v8eXYU"><field name="VALUE">n</field></block></value><value name="B"><shadow type="math_number" id="W^f0u`:9):JWi)IqH7!."><field name="NUM">1</field></shadow></value></block></value><value name="gt829pdy89bp00g1jlzb7"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="math_arithmetic" id="X4!3j$*.p2;@!hwY@Q*_"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="TqRXn%u5{G[-K6`^$ht1"><field name="NUM">0</field></shadow></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="7dp[r:MQx?042l^9#~@P"><field name="VALUE">a</field></block></value></block></value><value name="cbsx9bfp2q2p06su8zk4r"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="argument_reporter_number" id="N+@e-/Vf]z`b|%e~wPhT"><field name="VALUE">h</field></block></value><next><block type="typescript_statement" id="Zkt0p8ek|+8Vl_jYx%{i" editable="false"><mutation xmlns="http://www.w3.org/1999/xhtml" line0="turn(TurnDirection.Right, a);" numlines="1"></mutation></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></xml>