NbtTagFunctions extension Null safety

Extension on NbtTagType to give each enum value some functions.

on

Methods

asString() String
Gets a string representation of this tag. The default toString() cannot be overridden by extensions and returns "NbtTagType.TAG_END", instead of "TAG_END" or "TAG_End", which is shorter and more helpful in the end.