writeFullyFormedTag

fun DataOutputStream.writeFullyFormedTag(name: String, tag: NBT)

Writes a full tag (ID, name and value when applicable) to this output stream