id
Creates an Identifier from a namespace and path.
This is a convenience function for creating Minecraft resource identifiers.
Return
A new Identifier instance
Parameters
namespace
The namespace (mod id) for the identifier
path
The path component of the identifier
Parses an Identifier from a string in the format "namespace:path".
Return
The parsed Identifier
Parameters
string
The string to parse
Throws
if the string is not a valid identifier format