MCResource-Standort

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.

Diese Klasse importieren

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 implementiert die folgenden Schnittstellen. That means any method available to them can also be used on this class.

Constructors

neue crafttweaker.api.util.MCResourceLocation(Namensraum als String, Pfad als String);
ParameterTypeBeschreibung
namespaceStringNo description provided
pathStringNo description provided

Methoden

vergleichen

Return type: int

myMCResourceLocation.compareTo(p_compareTo_1_ als crafttweaker.api.util.MCResourceLocation);
ParameterTypeBeschreibung
p_vergleiche zu_1_crafttweaker.api.util.MCResourceLocationNo description provided

equals

Return type: boolean

myMCResourceLocation.equals(andere als Objekt);
ParameterTypeBeschreibung
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
namespaceStringtruefalse
pathStringtruefalse