ResourceLocation
Link to resourcelocation
Importing the class
Link to 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.
ZenScript Copyimport contenttweaker.resource.ResourceLocation;
Implemented Interfaces
Link to implemented-interfaces
ResourceLocation implements the following interfaces. That means all methods defined in these interfaces are also available in ResourceLocation
- Comparable<ResourceLocation>
Static Methods
Link to static-methods
Name: of
Return Type: ResourceLocation
ZenScript CopyResourceLocation.of(namespace as string, path as string) as ResourceLocation
Parameter | Type |
---|---|
Parameter namespace | Type string |
Parameter path | Type string |
Casters
Link to casters
Result Type | Is Implicit |
---|---|
Result Type string | Is Implicit true |
Properties
Link to 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 |