MCResourceLocation
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
MCResourceLocation implements the following interfaces. That means all methods defined in these interfaces are also available in MCResourceLocation
- Comparable<MCResourceLocation>
Constructors
Parameter | Type | Description |
---|---|---|
Parameter namespace | Type string | Description Usually a ModId |
Parameter path | Type string | Description May only contain lower-cased alphanumeric values, as well as / and _ |
Casters
Result type | Is Implicit |
---|---|
Result type IData | Is Implicit true |
Result type string | Is Implicit true |
Methods
Return Type: IData
Return Type: int
Parameter | Type | Description |
---|---|---|
Parameter other | Type MCResourceLocation | Description No Description Provided |
Return Type: boolean
Parameter | Type | Description |
---|---|---|
Parameter other | Type Object | Description No Description Provided |
Return Type: string
Return Type: string
Return Type: int
Return Type: string
Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name commandString | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Name namespace | Type string | Has Getter true | Has Setter false | Description No Description Provided |
Name path | Type string | Has Getter true | Has Setter false | Description No Description Provided |