NBTReaderCompanion

interface NBTReaderCompanion<T : NBT>

Companion object for all final NBT types that allows creation of said NBT object from a DataInputStream.

Functions

readContents
Link copied to clipboard
abstract fun readContents(source: DataInputStream): T
Reads the contents of the tag from the given source.

Inheritors

NBTByte
Link copied to clipboard
NBTByteArray
Link copied to clipboard
NBTCompound
Link copied to clipboard
NBTDouble
Link copied to clipboard
NBTEnd
Link copied to clipboard
NBTFloat
Link copied to clipboard
NBTInt
Link copied to clipboard
NBTIntArray
Link copied to clipboard
NBTList
Link copied to clipboard
NBTLong
Link copied to clipboard
NBTLongArray
Link copied to clipboard
NBTShort
Link copied to clipboard
NBTString
Link copied to clipboard