![YouTube Channel Subscribers](https://img.shields.io/youtube/channel/subscribers/UCXgqRZv7bHsKzwYBrtA9DFA?label=Youtube%20Subscribers&logo=Alaydriem&style=flat-square)
## Can I get a material list? It's the number one comment and question that appears on my Youtube channel, and as far as I am aware, Minecraft Bedrock doesn't provide any way to generate this. For larger builds it's not feasible to manually count everything, and using destructive techniques and counting is prone to mistakes and errors. We have .mcstructure blocks though. Can we extract the information from that? Yes, the answer is yes. This rust application does one simple thing - takes a .mcstructure file from Minecraft Bedrock, and turns it into a very rudimentary and simple JSON formatted materials list. ## Usage Make sure you have the rust toolchain installed from: https://rustup.rs/ Then install the package from cargo. ``` cargo install bedrock-material-list bedrock-material-list structure --file /path/to/file.mcstructure ``` Or clone the repo, then run it with your .mcstructure file: ``` cargo run -- structure --file /path/to/file.mcstructure ``` The application will output a very simple JSON list that you can use to to generate a materials list for your build. ## Generating Block ID Translation Texts An updated `blocks.json` can be generated by running `cargo run -- block-gen --file