createTag

abstract fun createTag(path: String): TagKey<T>

Shorthand method for creating a TagKey of the same type as the registrar

Return

TagKey instance

Author

fzzyhmstrs

Since

0.5.9

Parameters

path

String path portion of the tag id. Namespace will be this registrars namespace


abstract fun createTag(id: Identifier): TagKey<T>

Shorthand method for creating and TagKey with a fully arbitrary id of the same type as the registrar

Return

TagKey instance

Author

fzzyhmstrs

Since

0.5.9

Parameters

id

Identifier with arbitrary namespace and path. Does not have to be the same namespace as the registrar.