public class ModelResourceLocation extends ResourceLocation
ResourceLocation.Serializer| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
variant |
namespace, path| Modifier | Constructor and Description |
|---|---|
|
ModelResourceLocation(ResourceLocation location,
java.lang.String variantIn) |
|
ModelResourceLocation(java.lang.String pathIn) |
protected |
ModelResourceLocation(java.lang.String[] p_i48111_1_) |
|
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, create, decompose, getNamespace, getPath, isResouceNameValid, isValidPathCharacter, read, tryCreateprotected ModelResourceLocation(java.lang.String[] p_i48111_1_)
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 ResourceLocationpublic int hashCode()
hashCode in class ResourceLocationpublic java.lang.String toString()
toString in class ResourceLocation