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
named net/minecraft/client/util/ModelIdentifier
intermediary net/minecraft/class_1091
official gri
  • Field Details

    • SEPARATOR

      static final char SEPARATOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SEPARATOR Lnet/minecraft/client/util/ModelIdentifier;SEPARATOR:C
      intermediary field_32990 Lnet/minecraft/class_1091;field_32990:C
      official g Lgri;g:C
    • variant

      private final String variant
      Mappings:
      Namespace Name Mixin selector
      named variant Lnet/minecraft/client/util/ModelIdentifier;variant:Ljava/lang/String;
      intermediary field_5406 Lnet/minecraft/class_1091;field_5406:Ljava/lang/String;
      official h Lgri;h:Ljava/lang/String;
  • Constructor Details

    • ModelIdentifier

      private ModelIdentifier(String namespace, String path, String variant, @Nullable Identifier.ExtraData extraData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/ModelIdentifier;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/util/Identifier$ExtraData;)V
      intermediary <init> Lnet/minecraft/class_1091;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2960$class_7658;)V
      official <init> Lgri;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lalf$a;)V
    • ModelIdentifier

      public ModelIdentifier(String namespace, String path, String variant)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/ModelIdentifier;<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
      official <init> Lgri;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    • ModelIdentifier

      public ModelIdentifier(Identifier id, String variant)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/ModelIdentifier;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1091;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;)V
      official <init> Lgri;<init>(Lalf;Ljava/lang/String;)V
  • Method Details

    • ofVanilla

      public static ModelIdentifier ofVanilla(String path, String variant)
      Mappings:
      Namespace Name Mixin selector
      named ofVanilla Lnet/minecraft/client/util/ModelIdentifier;ofVanilla(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/ModelIdentifier;
      intermediary method_45910 Lnet/minecraft/class_1091;method_45910(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_1091;
      official c Lgri;c(Ljava/lang/String;Ljava/lang/String;)Lgri;
    • toLowerCase

      private static String toLowerCase(String string)
      Mappings:
      Namespace Name Mixin selector
      named toLowerCase Lnet/minecraft/client/util/ModelIdentifier;toLowerCase(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_45911 Lnet/minecraft/class_1091;method_45911(Ljava/lang/String;)Ljava/lang/String;
      official j Lgri;j(Ljava/lang/String;)Ljava/lang/String;
    • getVariant

      public String getVariant()
      Mappings:
      Namespace Name Mixin selector
      named getVariant Lnet/minecraft/client/util/ModelIdentifier;getVariant()Ljava/lang/String;
      intermediary method_4740 Lnet/minecraft/class_1091;method_4740()Ljava/lang/String;
      official f Lgri;f()Ljava/lang/String;
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Identifier
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/util/Identifier;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2960;equals(Ljava/lang/Object;)Z
      official equals Lalf;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Identifier
    • toString

      public String toString()
      Overrides:
      toString in class Identifier