Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harleypig/dump-minecolonies-resources
Dump required resources for a minecolonies structure
https://github.com/harleypig/dump-minecolonies-resources
dump-minecolonies-resources minecolonies-structure minecraft minecraft-mod nbt nbt-files nbt-parser perl perl-script
Last synced: 8 days ago
JSON representation
Dump required resources for a minecolonies structure
- Host: GitHub
- URL: https://github.com/harleypig/dump-minecolonies-resources
- Owner: harleypig
- Archived: true
- Created: 2017-01-17T06:43:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-16T04:14:14.000Z (about 7 years ago)
- Last Synced: 2025-01-18T12:11:47.730Z (12 days ago)
- Topics: dump-minecolonies-resources, minecolonies-structure, minecraft, minecraft-mod, nbt, nbt-files, nbt-parser, perl, perl-script
- Language: Perl
- Size: 214 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dump-minecolonies-resources
Dump required resources for a minecolonies structure# PLEASE NOTE:
!!! This is written specifically for MineColonies structure nbt files.
!!! There are no checks for invalid data.
!!! Use at your own peril!Use my version of Minecraft::NBTReader found at
https://github.com/harleypig/Minecraft-NBTReaderI've added support for the TAG_Int_Array type and removed a block for nbt
files that end with two nulls.# Install
Nothing to install, except as noted above.# Use
Unzip the jar file somewhere and then run `dump-resources` like so:dump-resources /pathto/unzipped/jarfile/assets/minecolonies/schematics/stone/Builder1.nbt
and you'll see something like this
```
stone Builder1Size (xyz): 15 x 8 x 13
----------------------------------------
cobblestone: 24
cobblestone stone slab: 32
cobblestone wall: 42
dirt: 63
oak log: 3
torch: 12```
I've added a directory that contains the output of all nbt files in the schematics directory. Look in 'resources.list'.
## Todos, when I get tuits ...
* Send output to a file instead of stdout.
* Add an option to print cumulative resources for a building if it has levels.## Todos, maybe ...
* Do I need to include the location of the hut block in the output?