public class ModelResourceLocation extends ResourceLocation
ResourceLocation.Serializer
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
variant |
resourceDomain, resourcePath
Modifier | Constructor and Description |
---|---|
protected |
ModelResourceLocation(int unused,
java.lang.String... resourceName) |
|
ModelResourceLocation(ResourceLocation location,
java.lang.String variantIn) |
|
ModelResourceLocation(java.lang.String pathIn) |
|
ModelResourceLocation(java.lang.String location,
java.lang.String variantIn) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getVariant() |
int |
hashCode() |
protected static java.lang.String[] |
parsePathString(java.lang.String pathIn) |
java.lang.String |
toString() |
compareTo, getResourceDomain, getResourcePath, splitObjectName
protected ModelResourceLocation(int unused, java.lang.String... resourceName)
public ModelResourceLocation(java.lang.String pathIn)
public ModelResourceLocation(ResourceLocation location, java.lang.String variantIn)
public ModelResourceLocation(java.lang.String location, java.lang.String variantIn)
protected static java.lang.String[] parsePathString(java.lang.String pathIn)
public java.lang.String getVariant()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class ResourceLocation
public int hashCode()
hashCode
in class ResourceLocation
public java.lang.String toString()
toString
in class ResourceLocation