public class ResourceLocation extends java.lang.Object implements java.lang.Comparable<ResourceLocation>
Modifier and Type | Class and Description |
---|---|
static class |
ResourceLocation.Serializer |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
resourceDomain |
protected java.lang.String |
resourcePath |
Modifier | Constructor and Description |
---|---|
protected |
ResourceLocation(int unused,
java.lang.String... resourceName) |
|
ResourceLocation(java.lang.String resourceName) |
|
ResourceLocation(java.lang.String resourceDomainIn,
java.lang.String resourcePathIn) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ResourceLocation p_compareTo_1_) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getResourceDomain() |
java.lang.String |
getResourcePath() |
int |
hashCode() |
static java.lang.String[] |
splitObjectName(java.lang.String toSplit) |
java.lang.String |
toString() |
protected final java.lang.String resourceDomain
protected final java.lang.String resourcePath
protected ResourceLocation(int unused, java.lang.String... resourceName)
public ResourceLocation(java.lang.String resourceName)
public ResourceLocation(java.lang.String resourceDomainIn, java.lang.String resourcePathIn)
public static java.lang.String[] splitObjectName(java.lang.String toSplit)
public java.lang.String getResourcePath()
public java.lang.String getResourceDomain()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ResourceLocation p_compareTo_1_)
compareTo
in interface java.lang.Comparable<ResourceLocation>