{"id":16245928,"url":"https://github.com/equbuxu/mine","last_synced_at":"2026-03-10T19:32:35.669Z","repository":{"id":116602840,"uuid":"368279705","full_name":"Equbuxu/mine","owner":"Equbuxu","description":"An advanced mining program for ComputerCraft Turtles.","archived":false,"fork":false,"pushed_at":"2024-04-20T16:36:16.000Z","size":22,"stargazers_count":65,"open_issues_count":12,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-15T11:55:52.222Z","etag":null,"topics":["computercraft","computercraft-scripts","computercraft-tweaked","lua","minecraft"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/Equbuxu.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}},"created_at":"2021-05-17T18:09:05.000Z","updated_at":"2025-06-11T16:25:33.000Z","dependencies_parsed_at":"2024-08-01T21:54:18.080Z","dependency_job_id":null,"html_url":"https://github.com/Equbuxu/mine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Equbuxu/mine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equbuxu%2Fmine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equbuxu%2Fmine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equbuxu%2Fmine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equbuxu%2Fmine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Equbuxu","download_url":"https://codeload.github.com/Equbuxu/mine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Equbuxu%2Fmine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30350092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["computercraft","computercraft-scripts","computercraft-tweaked","lua","minecraft"],"created_at":"2024-10-10T14:28:42.031Z","updated_at":"2026-03-10T19:32:35.650Z","avatar_url":"https://github.com/Equbuxu.png","language":"Lua","readme":"# An advanced mining program for ComputerCraft Turtles\n\nThis program is capable of mining an arbitrary area while removing lava, automatically refueling itself, bringing the mined items into one place, and more (no auto torches though sadly).\n\n## Basic usage\n\n1. Run `pastebin get 7uHd9pPx mine`. Run `mine`.\n1. On startup, the program shows a bunch of info, such as fuel level, slots used for various items, etc.\n1. By default, three slots are assigned: Chests, Coal and Cobblestone.\nChests are required since they are used to drop off mined items, but the cobblestone and coal slots can be left empty.\nThe turtle will store collected coal and cobblestone in those slots and use them when necessary.\n1. Below that, you will see a list of programs.\nYou can run `help \u003cprogram\u003e` to get a description of any specific program.\n1. Let's assume you want the turtle to branch mine.\nType `branch 5 20`.\nThe turtle should start mining a 20-block long tunnel in the direction it is facing.\nThe tunnel will have 5-block branches going to the left and right.\nNote that the order it mines the blocks in might seem a bit strange\n1. While mining, the turtle will go through ore veins without going further than 5 blocks from the area it's mining.\n1. The turtle will place chests near the place where it has started mining.\n\n**Currently existing programs:**\n\n- `help \u003cprogram\u003e` -\ndisplay info about the chosen program\n- `sphere \u003cdiameter\u003e` -\nMine out a sphere of diameter `\u003cdiameter\u003e`, starting from it's bottom center\n- `cube \u003cleft\u003e \u003cup\u003e \u003cforward\u003e` -\nMine out a cuboid of a specified size. Use negative values to dig in an opposite direction\n- `rcube \u003cleftR\u003e \u003cupR\u003e \u003cforwardR\u003e` -\nMine out a cuboid centered on the turtle. Each dimension is a \"radius\", so typing `rcube 1 1 1` will yield a 3x3x3 cube\n- `branch \u003cbranchLen\u003e \u003cshaftLen\u003e` -\nBranch-mining. `\u003cbranchLen\u003e` is the length of each branch, `\u003cshaftLen\u003e` is the length of the main shaft\n- `custom \u003cabsolute/file/path.lua\u003e` -\nMine out a custom volume generated by running code from file `\u003cabsolute/file/path.lua\u003e`. See the _Mining out any volume you want_ section.\n\n## Configuration\n\nThe [mine.lua](https://github.com/Equbuxu/mine/blob/master/mine.lua) file contains a config section at the top.\nYou may edit this section to change the turtle's behaviour.\nEach setting is explained by a comment above it.\n\n## Mining out any volume you want\n\nThe `custom \u003cabsolute/file/path.lua\u003e` accepts a lua file, and runs a function named `generate` from it.\nThe function should return a list of vectors, each specifying a position to be mined.\nYou can see an example in [`cylinder.lua`](https://github.com/Equbuxu/mine/blob/master/cylinder.lua).\n\nTips for generating good volumes:\n\n- Make sure that the function outputs a single volume (instead of multiple separate ones).\n- The turtle always attempts to place chests at the very bottom part of your volume. The turtle tries to navigate to the place above the chest, which means that the very bottom part of your volume must be at least two blocks high, and there should be enough two-high spaces for all chests. The program will crash otherwise.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequbuxu%2Fmine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fequbuxu%2Fmine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fequbuxu%2Fmine/lists"}