Skip to content

Want to know how to enum structure blocks #801

Closed Answered by maruohon
ArcadeCode asked this question in Q&A
Discussion options

You must be logged in to vote

Do you need this in a mod, or in an external script?

If you are making a mod, then you can directly use Litematica's MaterialList* classes to get the list of ItemStacks and the total number of items per stack for a given schematic.

If you need it in an external script, then there are a number of libraries people have made for various languages for accessing Litematica schematics. I know of libraries for Python, Rust and JavaScript.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ArcadeCode
Comment options

@maruohon
Comment options

@ArcadeCode
Comment options

@ArcadeCode
Comment options

Answer selected by ArcadeCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants