How to creating NBT list #2397
Answered
by
warjort
Intezium
asked this question in
Mod Dev Support
-
How to create NBT of such structure?
|
Beta Was this translation helpful? Give feedback.
Answered by
warjort
Jul 15, 2022
Replies: 1 comment
-
The (S)NBT format is explained here: For doing it in java, this should give you some idea how it works (see NbtElement and its subclasses):
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Intezium
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The (S)NBT format is explained here:
https://minecraft.fandom.com/wiki/NBT_format#:~:text=The%20Named%20Binary%20Tag%20(NBT,Binary%20Tag%20(SNBT)%20format.
a list is expressed like in json using square brackets and commas.
For doing it in java, this should give you some idea how it works (see NbtElement and its subclasses):