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 fjx
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 g Lfjx;g: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 h Lfjx;h: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

      protected ModelIdentifier(String[] id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laaj;<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

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

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

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

      protected static String[] split(String id)
      Mappings:
      Namespace Name Mixin selector
      official e Lfjx;e(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

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