-
Notifications
You must be signed in to change notification settings - Fork 0
/
_history
1 lines (1 loc) · 3.02 KB
/
_history
1
{"entries":[{"timestamp":1717468545613,"editorVersion":"1.7.28","changes":[{"type":"edited","filename":"custom.ts","patch":[{"diffs":[[-1,"-"],[0,"/**\n * C"]],"start1":0,"start2":0,"length1":9,"length2":8}]}]},{"timestamp":1717468568873,"editorVersion":"1.7.28","changes":[{"type":"edited","filename":"main.blocks","patch":[{"diffs":[[0,"y/xml\"><"],[1,"block type=\"minecraftOnChat\" x=\"0\" y=\"0\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" numargs=\"0\"></mutation><value name=\"command\"><shadow type=\"text\"><field name=\"TEXT\">run</field></shadow></value><statement name=\"HANDLER\"><block type=\"zoo_aquarium\"><value name=\"size\"><shadow type=\"math_number_minmax\"><mutation min=\"6\" max=\"100\" label=\"Size\" precision=\"0\"></mutation><field name=\"SLIDER\">6</field></shadow></value></block></statement></block><"],[0,"/xml>"]],"start1":48,"start2":48,"length1":13,"length2":461}]},{"type":"edited","filename":"pxt.json","patch":[{"diffs":[[0," ],\n"],[-1," \"testFiles\": [\n \"test.ts\"\n ],\n"],[0," "]],"start1":223,"start2":223,"length1":52,"length2":8}]},{"type":"added","filename":"test.ts","value":"// tests go here; this will not be compiled when this package is used as an extension.\n"}]}],"snapshots":[{"timestamp":1717468545612,"editorVersion":"1.7.28","text":{"main.blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"minecraftOnChat\" x=\"0\" y=\"0\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" numargs=\"0\"></mutation><value name=\"command\"><shadow type=\"text\"><field name=\"TEXT\">run</field></shadow></value><statement name=\"HANDLER\"><block type=\"zoo_aquarium\"><value name=\"size\"><shadow type=\"math_number_minmax\"><mutation min=\"6\" max=\"100\" label=\"Size\" precision=\"0\"></mutation><field name=\"SLIDER\">6</field></shadow></value></block></statement></block></xml>","main.ts":"player.onChat(\"run\", function () {\n zoo.aquarium(6)\n})\n","README.md":"","custom.ts":"/**\n * Custom blocks\n */\n//% color=#FA1234 icon=\"\"\nnamespace zoo {\n \n //% block=\"build glow squid tank of size $size\"\n //% size.defl=6\n //% size.min=6 size.max=100\n export function aquarium(size: number) {\n blocks.fill(GLASS, pos(0, 0, 0), pos(size, size, size), FillOperation.Replace);\n blocks.fill(WATER, pos(1, 1, 1), pos(size-1, size-1, size-1), FillOperation.Replace);\n mobs.spawn(GLOW_SQUID, pos(size/2, size/2, size/2));\n }\n\n}\n","pxt.json":"{\n \"name\": \"Aquarium\",\n \"description\": \"\",\n \"dependencies\": {\n \"core\": \"*\",\n \"builder\": \"*\"\n },\n \"files\": [\n \"main.blocks\",\n \"main.ts\",\n \"README.md\",\n \"custom.ts\"\n ],\n \"targetVersions\": {\n \"branch\": \"v1.7.28\",\n \"tag\": \"v1.7.28\",\n \"commits\": \"https://github.com/microsoft/pxt-minecraft/commits/43da08b76c2f6625ff14c4dd6110a975e16396e8\",\n \"target\": \"1.7.28\",\n \"pxt\": \"9.2.8\"\n },\n \"preferredEditor\": \"tsprj\"\n}\n"}}],"shares":[]}