{"id":29928615,"url":"https://github.com/meshiest/mlogblocks","last_synced_at":"2025-08-02T14:09:59.236Z","repository":{"id":45583715,"uuid":"334014792","full_name":"Meshiest/mlogblocks","owner":"Meshiest","description":"mindustry logic from code blocks. see keybinds at bottom of the page for usage and examples folder for examples","archived":false,"fork":false,"pushed_at":"2025-05-26T03:50:15.000Z","size":217,"stargazers_count":10,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T05:08:58.798Z","etag":null,"topics":["blockly","mindustry","mindustry-logic","mlog"],"latest_commit_sha":null,"homepage":"https://mlog.reheatedcake.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Meshiest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-01-29T02:26:49.000Z","updated_at":"2025-05-26T03:50:19.000Z","dependencies_parsed_at":"2025-05-26T05:02:44.579Z","dependency_job_id":"180f2b73-87b4-4360-a9ca-47220715e340","html_url":"https://github.com/Meshiest/mlogblocks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Meshiest/mlogblocks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fmlogblocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fmlogblocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fmlogblocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fmlogblocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meshiest","download_url":"https://codeload.github.com/Meshiest/mlogblocks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meshiest%2Fmlogblocks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockly","mindustry","mindustry-logic","mlog"],"created_at":"2025-08-02T14:09:58.533Z","updated_at":"2025-08-02T14:09:59.209Z","avatar_url":"https://github.com/Meshiest.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mindustry Logic Blocks\n\nA scratch-like visual editor for Mindustry's Logic Processors available at [https://mlog.reheatedcake.io/](https://mlog.reheatedcake.io/).\n\nNo need to download anything but the code you write!\n\nUses [Google's Blockly](https://developers.google.com/blockly) with custom blocks and code generation.\n\n## Notes\n\n- Code is run from the top left.\n- Placing functions above your first line will cause the function code to run before the first line.\n- If you have functions and no `end` block at the end of your program, the functions will run after your code runs.\n- Recursion only works if you place the recursive function call in the return statement of the function. (See below)\n\n## Features\n\n**Variables and Inline Operators**\n\n[\u003cimg src=\"https://i.imgur.com/kIPjpfT.png\"\u003e](https://i.imgur.com/kIPjpfT.png)\n\n**If, Else If, Else, and Ternary Operators**\n\n[\u003cimg src=\"https://i.imgur.com/qdND9e3.png\"\u003e](https://i.imgur.com/qdND9e3.png)\n\n**Multiple Flavors of Loops**\n\n[\u003cimg src=\"https://i.imgur.com/D4731GY.png\"\u003e](https://i.imgur.com/D4731GY.png)\n\n**Print Templating**\n\n[\u003cimg src=\"https://i.imgur.com/k9j0Nwf.png\"\u003e](https://i.imgur.com/k9j0Nwf.png)\n\n**Functions and Nested Calls**\n\n[\u003cimg src=\"https://i.imgur.com/3r2zolR.png\"\u003e](https://i.imgur.com/3r2zolR.png)\n\n**Tail Recursion** (recursive function call is in the return)\n\n[\u003cimg src=\"https://i.imgur.com/OQ4FwWT.png\"\u003e](https://i.imgur.com/OQ4FwWT.png)\n\n## Screenshots\n\n[\u003cimg src=\"https://i.imgur.com/3iQa9ES.png\"\u003e](https://i.imgur.com/3iQa9ES.png)\n[\u003cimg src=\"https://i.imgur.com/8PPVooc.png\"\u003e](https://i.imgur.com/8PPVooc.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshiest%2Fmlogblocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeshiest%2Fmlogblocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeshiest%2Fmlogblocks/lists"}