Want to know how to enum structure blocks #801
-
Hello, I have a project of calculator in minecraft to get a list of block of a structure and give user all basics blocks to get, like if the structure use Furnaces, we need a certain amount of cobblestones. But for this I checked how nbt work and It was such complex so I search If anybody have an tool for this. With the list of material in Litematica I thinks the project have what I want, so anybody can show me what's script read structures and how list materials ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
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 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. |
Beta Was this translation helpful? Give feedback.
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 ofItemStack
s 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.