format@@0 MCRessourceLocation

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 implémente les interfaces suivantes. 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
espace de nomsStringNo description provided
pathStringNo description provided

Methods

comparer à

Return type: int

myMCResourceLocation.compareTo(p_compareTo_1_ comme crafttweaker.api.util.MCResourceLocation);
ParameterTypeDescription
Comparé à 1_crafttweaker.api.util.MCResourceLocationNo description provided

equals

Return type: boolean

myMCResourceLocation.equals(autre que l'objet);
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

NameTypeHas GetterHas Setter
commandStringStringtruefalse
espace de nomsStringtruefalse
pathStringtruefalse