Class ModelResourceLocation
java.lang.Object
net.minecraft.resources.ResourceLocation
net.minecraft.client.resources.model.ModelResourceLocation
- All Implemented Interfaces:
Comparable<ResourceLocation>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.resources.ResourceLocation
ResourceLocation.Dummy, ResourceLocation.Serializer
-
Field Summary
Fields inherited from class net.minecraft.resources.ResourceLocation
CODEC, DEFAULT_NAMESPACE, NAMESPACE_SEPARATOR, REALMS_NAMESPACE
-
Constructor Summary
ModifierConstructorDescriptionModelResourceLocation
(String p_174908_, String p_174909_, String p_174910_) private
ModelResourceLocation
(String p_251021_, String p_249350_, String p_251656_, ResourceLocation.Dummy p_248802_) ModelResourceLocation
(ResourceLocation p_119442_, String p_119443_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
private static String
lowercaseVariant
(String p_248567_) toString()
static ModelResourceLocation
Methods inherited from class net.minecraft.resources.ResourceLocation
compareNamespaced, compareTo, decompose, getNamespace, getPath, isAllowedInResourceLocation, isValidNamespace, isValidPath, isValidResourceLocation, of, read, read, toDebugFileName, toLanguageKey, toLanguageKey, toLanguageKey, toShortLanguageKey, tryBuild, tryParse, validNamespaceChar, validPathChar, withPath, withPath, withPrefix, withSuffix
-
Field Details
-
VARIANT_SEPARATOR
static final char VARIANT_SEPARATOR- See Also:
-
variant
-
-
Constructor Details
-
ModelResourceLocation
private ModelResourceLocation(String p_251021_, String p_249350_, String p_251656_, @Nullable ResourceLocation.Dummy p_248802_) -
ModelResourceLocation
-
ModelResourceLocation
-
-
Method Details
-
vanilla
-
lowercaseVariant
-
getVariant
-
equals
- Overrides:
equals
in classResourceLocation
-
hashCode
public int hashCode()- Overrides:
hashCode
in classResourceLocation
-
toString
- Overrides:
toString
in classResourceLocation
-