ResourceLocation
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Loaders
This type is available in the following loaders:
crafttweaker
tags
Implements
Undocumented Interfaces
Comparable<ResourceLocation>
Constructors
new(namespace as string, path as string)
Parameters:
namespace: string
Type: string
- Usually a ModId path: string
Type: string
- May only contain lower-cased alphanumeric values, as well as / and _ Operators
==(other as Object) as bool
Parameters:
other: Object
Type: Object
Return Type:
bool
Members
Getter
Return Type:
string
compareTo(other as ResourceLocation) as int
Parameters:
other: ResourceLocation
Type: ResourceLocation
Return Type:
int
equals(other as Object) as bool
Parameters:
other: Object
Type: Object
Return Type:
bool
hashCode() as int
Return Type:
int
Getter
Return Type:
string
namespace() as string
Return Type:
string
Getter
Return Type:
string
path() as string
Return Type:
string
toString() as string
Return Type:
string
implicit as string
Return Type:
string