NBT-Manipulator

A kotlin/java lib that allows you to read and write NBT data in a clean way

View on GitHub

//nbt-manipulator/br.com.gamemods.nbtmanipulator/NbtIO/readNbtFileDirectly

readNbtFileDirectly

[jvm]\

@JvmStatic

fun readNbtFileDirectly(input: DataInput): NbtFile

Reads a NbtFile from the input. This method does not read the Bedrock Edition version and length headers.

Parameters

jvm

   
input Where the file will be read, needs to handle compression and endianness.