ResourceLocation
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Implemented Interfaces
ResourceLocation implements the following interfaces. That means all methods defined in these interfaces are also available in ResourceLocation
- Comparable<ResourceLocation>
Static Methods
Return Type: ResourceLocation
Parameter | Type |
---|---|
Parameter namespace | Type string |
Parameter path | Type string |
Casters
Result Type | Is Implicit |
---|---|
Result Type string | Is Implicit true |
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name namespace | Type string | Has Getter true | Has Setter false |
Name path | Type string | Has Getter true | Has Setter false |