Started by Yue on Sat, 02/25/2023 - 17:16
Topic category: General discussion
Looking for a bit of help and guidance with creating a builder block which generates a structure; however does so one block at a time.
So the block needs to:
* read a selected .nbt file
* read the max x, y & z coordinates of that .nbt file
* index a block with a given xyz position from the .nbt file
* place the read block in the world if enough energy is stored within the builder block.
Unfortunately I'm struggling to find any tutorials or guidance online which'll help me achieve this in a block by block placement method.
Can anyone help, or point me towards material which describes this process?
many thanks in advance. Yue.
you will need to convert nbt structure to some usable format and not only extension.
If you don't know, mcreator can't just take block from specific position from structure so you need to make procedure that opens converted structure file and reads if and then places correct block.
I see, thanks for that.
How would i go about converting the .nbt via a procedure and then reading the resultant file to achieve to get that xyz position data?