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
  • Field Details

    • variant

      private final String 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

      protected ModelIdentifier​(String[] id)
      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

      public ModelIdentifier​(String id)
      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

      public ModelIdentifier​(Identifier id, String variant)
      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

      public ModelIdentifier​(String namespace, String path)
      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

      protected static String[] split​(String id)
      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

      public 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

      public boolean equals​(Object other)
      Overrides:
      equals in class Identifier
      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 class Identifier
      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

      public String toString()
      Overrides:
      toString in class Identifier
      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;