Package net.minecraft.client.util
Class ModelIdentifier
java.lang.Object
net.minecraft.util.Identifier
net.minecraft.client.util.ModelIdentifier
- All Implemented Interfaces:
Comparable<Identifier>
- Mappings:
Namespace Name official fwn
intermediary net/minecraft/class_1091
named net/minecraft/client/util/ModelIdentifier
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.Identifier
Identifier.ExtraData, Identifier.Serializer
-
Field Summary
Fields inherited from class net.minecraft.util.Identifier
CODEC, DEFAULT_NAMESPACE, NAMESPACE_SEPARATOR, REALMS_NAMESPACE
-
Constructor Summary
ModifierConstructorDescriptionModelIdentifier
(String namespace, String path, String variant) private
ModelIdentifier
(String namespace, String path, String variant, Identifier.ExtraData extraData) ModelIdentifier
(Identifier id, String variant) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static ModelIdentifier
private static String
toLowerCase
(String string) toString()
Methods inherited from class net.minecraft.util.Identifier
compareTo, fromCommandInput, getNamespace, getPath, isCharValid, isPathCharacterValid, isValid, of, split, splitOn, toShortTranslationKey, toTranslationKey, toTranslationKey, toTranslationKey, toUnderscoreSeparatedString, tryParse, validate, withPath, withPath, withPrefixedPath, withSuffixedPath
-
Field Details
-
SEPARATOR
static final char SEPARATOR- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lfwn;e:C
intermediary field_32990
Lnet/minecraft/class_1091;field_32990:C
named SEPARATOR
Lnet/minecraft/client/util/ModelIdentifier;SEPARATOR:C
-
variant
- Mappings:
Namespace Name Mixin selector official f
Lfwn;f:Ljava/lang/String;
intermediary field_5406
Lnet/minecraft/class_1091;field_5406:Ljava/lang/String;
named variant
Lnet/minecraft/client/util/ModelIdentifier;variant:Ljava/lang/String;
-
-
Constructor Details
-
ModelIdentifier
private ModelIdentifier(String namespace, String path, String variant, @Nullable Identifier.ExtraData extraData) - Mappings:
Namespace Name Mixin selector official <init>
Lfwn;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lacq$a;)V
intermediary <init>
Lnet/minecraft/class_1091;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2960$class_7658;)V
named <init>
Lnet/minecraft/client/util/ModelIdentifier;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/util/Identifier$ExtraData;)V
-
ModelIdentifier
- Mappings:
Namespace Name Mixin selector official <init>
Lfwn;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1091;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
named <init>
Lnet/minecraft/client/util/ModelIdentifier;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
-
ModelIdentifier
- Mappings:
Namespace Name Mixin selector official <init>
Lfwn;<init>(Lacq;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1091;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;)V
named <init>
Lnet/minecraft/client/util/ModelIdentifier;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;)V
-
-
Method Details
-
ofVanilla
- Mappings:
Namespace Name Mixin selector official c
Lfwn;c(Ljava/lang/String;Ljava/lang/String;)Lfwn;
intermediary method_45910
Lnet/minecraft/class_1091;method_45910(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_1091;
named ofVanilla
Lnet/minecraft/client/util/ModelIdentifier;ofVanilla(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/ModelIdentifier;
-
toLowerCase
- Mappings:
Namespace Name Mixin selector official h
Lfwn;h(Ljava/lang/String;)Ljava/lang/String;
intermediary method_45911
Lnet/minecraft/class_1091;method_45911(Ljava/lang/String;)Ljava/lang/String;
named toLowerCase
Lnet/minecraft/client/util/ModelIdentifier;toLowerCase(Ljava/lang/String;)Ljava/lang/String;
-
getVariant
- Mappings:
Namespace Name Mixin selector official f
Lfwn;f()Ljava/lang/String;
intermediary method_4740
Lnet/minecraft/class_1091;method_4740()Ljava/lang/String;
named getVariant
Lnet/minecraft/client/util/ModelIdentifier;getVariant()Ljava/lang/String;
-
equals
- Overrides:
equals
in classIdentifier
- Mappings:
Namespace Name Mixin selector official equals
Lacq;equals(Ljava/lang/Object;)Z
intermediary equals
Lnet/minecraft/class_2960;equals(Ljava/lang/Object;)Z
named equals
Lnet/minecraft/util/Identifier;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Overrides:
hashCode
in classIdentifier
-
toString
- Overrides:
toString
in classIdentifier
-