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 gsn
  • 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 Lgsn;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 Lgsn;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> Lgsn;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lakq$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> Lgsn;<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> Lgsn;<init>(Lakq;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 d Lgsn;d(Ljava/lang/String;Ljava/lang/String;)Lgsn;
    • 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 l Lgsn;l(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 Lgsn;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 Lakq;equals(Ljava/lang/Object;)Z
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Identifier