MCResourceLocation

This class was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

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.

crafttweaker.api.util.MCResourceLocation

Implemented Interfaces

MCResourceLocation implements the following interfaces. That means any method available to them can also be used on this class.

Constructors

new crafttweaker.api.util.MCResourceLocation(namespace as String, path as String);
ParameterTypeDescription
namespaceStringNo description provided
pathStringNo description provided

Methods

compareTo

Return type: int

myMCResourceLocation.compareTo(p_compareTo_1_ as crafttweaker.api.util.MCResourceLocation);
ParameterTypeDescription
p_compareTo_1_crafttweaker.api.util.MCResourceLocationNo description provided

equals

Return type: boolean

myMCResourceLocation.equals(other as Object);
ParameterTypeDescription
otherObjectNo description provided

getNamespace

Return type: String

myMCResourceLocation.getNamespace();

getPath

Return type: String

myMCResourceLocation.getPath();

hashCode

Return type: int

myMCResourceLocation.hashCode();

toString

Return type: String

myMCResourceLocation.toString();

Properties

이름TypeHas GetterHas Setter
commandStringStringtruefalse
namespaceStringtruefalse
pathStringtruefalse