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
FieldsFields inherited from class net.minecraft.resources.ResourceLocation
CODEC, DEFAULT_NAMESPACE, NAMESPACE_SEPARATOR, REALMS_NAMESPACE -
Constructor Summary
ConstructorsModifierConstructorDescriptionModelResourceLocation(String p_174908_, String p_174909_, String p_174910_) privateModelResourceLocation(String p_251021_, String p_249350_, String p_251656_, ResourceLocation.Dummy p_248802_) ModelResourceLocation(ResourceLocation p_119442_, String p_119443_) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()private static StringlowercaseVariant(String p_248567_) toString()static ModelResourceLocationMethods inherited from class net.minecraft.resources.ResourceLocation
compareNamespaced, compareTo, decompose, getNamespace, getPath, isAllowedInResourceLocation, isValidNamespace, isValidPath, isValidResourceLocation, of, read, read, toDebugFileName, toLanguageKey, toLanguageKey, toShortLanguageKey, tryBuild, tryParse, validNamespaceChar, validPathChar, withPath, withPath, withPrefix
-
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:
equalsin classResourceLocation
-
hashCode
public int hashCode()- Overrides:
hashCodein classResourceLocation
-
toString
- Overrides:
toStringin classResourceLocation
-