Package net.minecraft.client.util
Class ModelIdentifier
java.lang.Object
net.minecraft.util.Identifier
net.minecraft.client.util.ModelIdentifier
- All Implemented Interfaces:
Comparable<Identifier>
@Environment(CLIENT) public class ModelIdentifier extends Identifier
- Mappings:
Namespace Name official etm
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.Serializer
-
Field Summary
Fields inherited from class net.minecraft.util.Identifier
CODEC, namespace, path
-
Constructor Summary
Constructors Modifier Constructor Description ModelIdentifier(String id)
protected
ModelIdentifier(String[] id)
ModelIdentifier(String namespace, String path)
ModelIdentifier(Identifier id, String variant)
-
Method Summary
Methods inherited from class net.minecraft.util.Identifier
compareTo, fromCommandInput, getNamespace, getPath, isCharValid, isPathCharacterValid, isValid, split, splitOn, tryParse
-
Field Details
-
variant
- Mappings:
Namespace Name Mixin selector official d
Letm;d: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
- Mappings:
Namespace Name Mixin selector official <init>
Lwb;<init>([Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2960;<init>([Ljava/lang/String;)V
named <init>
Lnet/minecraft/util/Identifier;<init>([Ljava/lang/String;)V
-
ModelIdentifier
- Mappings:
Namespace Name Mixin selector official <init>
Lwb;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2960;<init>(Ljava/lang/String;)V
named <init>
Lnet/minecraft/util/Identifier;<init>(Ljava/lang/String;)V
-
ModelIdentifier
- Mappings:
Namespace Name Mixin selector official <init>
Letm;<init>(Lwb;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
-
ModelIdentifier
- Mappings:
Namespace Name Mixin selector official <init>
Lwb;<init>(Ljava/lang/String;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2960;<init>(Ljava/lang/String;Ljava/lang/String;)V
named <init>
Lnet/minecraft/util/Identifier;<init>(Ljava/lang/String;Ljava/lang/String;)V
-
-
Method Details
-
split
- Mappings:
Namespace Name Mixin selector official c
Letm;c(Ljava/lang/String;)[Ljava/lang/String;
intermediary method_4741
Lnet/minecraft/class_1091;method_4741(Ljava/lang/String;)[Ljava/lang/String;
named split
Lnet/minecraft/client/util/ModelIdentifier;split(Ljava/lang/String;)[Ljava/lang/String;
-
getVariant
- Mappings:
Namespace Name Mixin selector official d
Letm;d()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
Lwb;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
- Mappings:
Namespace Name Mixin selector official hashCode
Lwb;hashCode()I
intermediary hashCode
Lnet/minecraft/class_2960;hashCode()I
named hashCode
Lnet/minecraft/util/Identifier;hashCode()I
-
toString
- Overrides:
toString
in classIdentifier
- Mappings:
Namespace Name Mixin selector official toString
Lwb;toString()Ljava/lang/String;
intermediary toString
Lnet/minecraft/class_2960;toString()Ljava/lang/String;
named toString
Lnet/minecraft/util/Identifier;toString()Ljava/lang/String;
-