readValue

public Object readValue(TagType tagType)

Read a NBT value from the inputStream as the specified type

Throws

If the value could not be read or was not valid NBT data