Class ModelResourceLocation
- java.lang.Object
-
- net.minecraft.util.ResourceLocation
-
- net.minecraft.client.renderer.model.ModelResourceLocation
-
- All Implemented Interfaces:
java.lang.Comparable<ResourceLocation>
public class ModelResourceLocation extends ResourceLocation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.util.ResourceLocation
ResourceLocation.Serializer
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
variant
-
Fields inherited from class net.minecraft.util.ResourceLocation
CODEC, namespace, path
-
-
Constructor Summary
Constructors Modifier Constructor Description ModelResourceLocation(java.lang.String p_i46079_1_)
protected
ModelResourceLocation(java.lang.String[] p_i48111_1_)
ModelResourceLocation(java.lang.String p_i46081_1_, java.lang.String p_i46081_2_)
ModelResourceLocation(ResourceLocation p_i46080_1_, java.lang.String p_i46080_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static java.lang.String[]
decompose(java.lang.String p_177517_0_)
boolean
equals(java.lang.Object p_equals_1_)
java.lang.String
getVariant()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class net.minecraft.util.ResourceLocation
compareNamespaced, compareTo, decompose, getNamespace, getPath, isAllowedInResourceLocation, isValidResourceLocation, of, read, tryParse, validPathChar
-
-
-
-
Constructor Detail
-
ModelResourceLocation
protected ModelResourceLocation(java.lang.String[] p_i48111_1_)
-
ModelResourceLocation
public ModelResourceLocation(java.lang.String p_i46079_1_)
-
ModelResourceLocation
public ModelResourceLocation(ResourceLocation p_i46080_1_, java.lang.String p_i46080_2_)
-
ModelResourceLocation
public ModelResourceLocation(java.lang.String p_i46081_1_, java.lang.String p_i46081_2_)
-
-
Method Detail
-
decompose
protected static java.lang.String[] decompose(java.lang.String p_177517_0_)
-
getVariant
public java.lang.String getVariant()
-
equals
public boolean equals(java.lang.Object p_equals_1_)
- Overrides:
equals
in classResourceLocation
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classResourceLocation
-
toString
public java.lang.String toString()
- Overrides:
toString
in classResourceLocation
-
-