{"id":15017925,"url":"https://github.com/harleypig/dump-minecolonies-resources","last_synced_at":"2025-10-03T22:30:37.106Z","repository":{"id":137057557,"uuid":"79197390","full_name":"harleypig/dump-minecolonies-resources","owner":"harleypig","description":"Dump required resources for a minecolonies structure","archived":true,"fork":false,"pushed_at":"2017-11-16T04:14:14.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-18T12:11:47.730Z","etag":null,"topics":["dump-minecolonies-resources","minecolonies-structure","minecraft","minecraft-mod","nbt","nbt-files","nbt-parser","perl","perl-script"],"latest_commit_sha":null,"homepage":null,"language":"Perl","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/harleypig.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":"2017-01-17T06:43:38.000Z","updated_at":"2024-04-29T03:07:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"319888f3-4e35-449a-9576-3eaff03ac65c","html_url":"https://github.com/harleypig/dump-minecolonies-resources","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harleypig%2Fdump-minecolonies-resources","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harleypig%2Fdump-minecolonies-resources/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harleypig%2Fdump-minecolonies-resources/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harleypig%2Fdump-minecolonies-resources/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harleypig","download_url":"https://codeload.github.com/harleypig/dump-minecolonies-resources/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235198390,"owners_count":18951498,"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","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":["dump-minecolonies-resources","minecolonies-structure","minecraft","minecraft-mod","nbt","nbt-files","nbt-parser","perl","perl-script"],"created_at":"2024-09-24T19:51:11.023Z","updated_at":"2025-10-03T22:30:36.633Z","avatar_url":"https://github.com/harleypig.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dump-minecolonies-resources\nDump required resources for a minecolonies structure\n\n# PLEASE NOTE:\n\n  !!! This is written specifically for MineColonies structure nbt files.\u003cbr /\u003e\n  !!! There are no checks for invalid data.\u003cbr /\u003e\n  !!! Use at your own peril!\n\n  Use my version of Minecraft::NBTReader found at\n  https://github.com/harleypig/Minecraft-NBTReader\n\n  I've added support for the TAG_Int_Array type and removed a block for nbt\n  files that end with two nulls.\n\n# Install\nNothing to install, except as noted above.\n\n# Use\nUnzip the jar file somewhere and then run `dump-resources` like so:\n\n    dump-resources /pathto/unzipped/jarfile/assets/minecolonies/schematics/stone/Builder1.nbt\n\nand you'll see something like this\n\n```\nstone Builder1\n\n  Size (xyz): 15 x  8 x 13\n\n----------------------------------------\n\n             cobblestone: 24\n  cobblestone stone slab: 32\n        cobblestone wall: 42\n                    dirt: 63\n                 oak log:  3\n                   torch: 12\n\n```\n\nI've added a directory that contains the output of all nbt files in the schematics directory. Look in 'resources.list'.\n\n## Todos, when I get tuits ...\n* Send output to a file instead of stdout.\n* Add an option to print cumulative resources for a building if it has levels.\n\n## Todos, maybe ...\n* Do I need to include the location of the hut block in the output?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharleypig%2Fdump-minecolonies-resources","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharleypig%2Fdump-minecolonies-resources","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharleypig%2Fdump-minecolonies-resources/lists"}