//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtIO/writeNbtTagDirectly
writeNbtTagDirectly
[jvm]\
fun writeNbtTagDirectly(output: DataOutput, tag: NbtTag, writeTypeId: Boolean = true)
Writes the NbtTag directly, without name and optionally without type id.
Parameters
jvm
output | Where the file will be written, needs to handle compression and endianness. |
tag | The tag that will be written to the output |
writeTypeId | If the first byte written should be the NBT tag type id. |