Companion
object Companion
Functions
Link copied to clipboard
Checks whether the given namespace is a valid namespace.
Link copied to clipboard
Checks whether the given path is a valid path.
Link copied to clipboard
Creates a new ResourcePath in type using the given key.
fun <T : ResourceType> of(type: T, id: String, fallbackNamespace: String = "minecraft"): ResourcePath<T>
Creates a new ResourcePath in type using the given id, falling back to fallbackNamespace if no namespace is specified in id.