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

    • SEPARATOR

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

      private final String variant
      Mappings:
      Namespace Name Mixin selector
      official f Lfqo;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> Lfqo;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lacf$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

      public ModelIdentifier(String namespace, String path, String variant)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfqo;<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

      public ModelIdentifier(Identifier id, String variant)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfqo;<init>(Lacf;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

      public static ModelIdentifier ofVanilla(String path, String variant)
      Mappings:
      Namespace Name Mixin selector
      official b Lfqo;b(Ljava/lang/String;Ljava/lang/String;)Lfqo;
      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

      private static String toLowerCase(String string)
      Mappings:
      Namespace Name Mixin selector
      official g Lfqo;g(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

      public String getVariant()
      Mappings:
      Namespace Name Mixin selector
      official f Lfqo;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

      public boolean equals(Object o)
      Overrides:
      equals in class Identifier
      Mappings:
      Namespace Name Mixin selector
      official equals Lacf;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 class Identifier
    • toString

      public String toString()
      Overrides:
      toString in class Identifier