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 implementuje następujące interfejsy. That means any method available to them can also be used on this class.

Constructors

nowe crafttweaker.api.util.MCResourceLocation(nazwa jako String, ścieżka jako String);
ParameterTypeDescription
przestrzeń nazwStringNo description provided
pathStringNo description provided

Methods

porównaj do

Return type: int

myMCResourceLocation.compareTo(p_compareTo_1_ jako crafttweaker.api.util.MCResourceLocation);
ParameterTypeDescription
p_Porówna_1_crafttweaker.api.util.MCResourceLocationNo description provided

equals

Return type: boolean

myMCResourceLocation.equals(inne jako obiekt);
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
przestrzeń nazwStringtruefalse
pathStringtruefalse