Class ModelResourceLocation
java.lang.Object
net.minecraft.resources.ResourceLocation
net.minecraft.client.resources.model.ModelResourceLocation
- All Implemented Interfaces:
- Comparable<ResourceLocation>
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.resources.ResourceLocationResourceLocation.Dummy, ResourceLocation.Serializer
- 
Field SummaryFieldsFields inherited from class net.minecraft.resources.ResourceLocationCODEC, DEFAULT_NAMESPACE, NAMESPACE_SEPARATOR, REALMS_NAMESPACE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionModelResourceLocation(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 SummaryModifier and TypeMethodDescriptionbooleaninthashCode()private static StringlowercaseVariant(String p_248567_) toString()static ModelResourceLocationMethods inherited from class net.minecraft.resources.ResourceLocationcompareNamespaced, 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_SEPARATORstatic final char VARIANT_SEPARATOR- See Also:
 
- 
variant
 
- 
- 
Constructor Details- 
ModelResourceLocationprivate 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 class- ResourceLocation
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- ResourceLocation
 
- 
toString- Overrides:
- toStringin class- ResourceLocation
 
 
-