ResourcePath
@Serializable(with = ResourcePathSerializer::class)
An identifier for a file in a resource pack.
Similar to Key, ResourcePath consists of a namespace and path, but with an additional type that specifies the type of resource and thereby its location in the resource pack.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Converts this Key to a NamespacedKey.
Link copied to clipboard
Link copied to clipboard
Changes the type of this ResourcePath to newType, updating path to still target the same file from the new type.