Class Identifier

java.lang.Object
net.minecraft.util.Identifier
Direct Known Subclasses:
ModelIdentifier

public class Identifier
extends Object
The namespace and path must contain only lowercase letters ([a-z]), digits ([0-9]), or the characters '_', '.', and '-'. The path can also contain the standard path separator '/'.
Mappings:
Namespace Name
official jy
intermediary net/minecraft/class_1605
named net/minecraft/util/Identifier
  • Field Details

    • namespace

      protected final String namespace
      Mappings:
      Namespace Name Mixin selector
      official a Ljy;a:Ljava/lang/String;
      intermediary field_6501 Lnet/minecraft/class_1605;field_6501:Ljava/lang/String;
      named namespace Lnet/minecraft/util/Identifier;namespace:Ljava/lang/String;
    • path

      protected final String path
      Mappings:
      Namespace Name Mixin selector
      official b Ljy;b:Ljava/lang/String;
      intermediary field_6502 Lnet/minecraft/class_1605;field_6502:Ljava/lang/String;
      named path Lnet/minecraft/util/Identifier;path:Ljava/lang/String;
  • Constructor Details

    • Identifier

      protected Identifier​(int id, String[] string)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljy;<init>(I[Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1605;<init>(I[Ljava/lang/String;)V
      named <init> Lnet/minecraft/util/Identifier;<init>(I[Ljava/lang/String;)V
    • Identifier

      public Identifier​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljy;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1605;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/util/Identifier;<init>(Ljava/lang/String;)V
    • Identifier

      @Environment(CLIENT) public Identifier​(String string, String string2)
  • Method Details

    • method_5882

      protected static String[] method_5882​(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Ljy;a(Ljava/lang/String;)[Ljava/lang/String;
      intermediary method_5882 Lnet/minecraft/class_1605;method_5882(Ljava/lang/String;)[Ljava/lang/String;
      named method_5882 Lnet/minecraft/util/Identifier;method_5882(Ljava/lang/String;)[Ljava/lang/String;
    • getPath

      public String getPath()
      Mappings:
      Namespace Name Mixin selector
      official a Ljy;a()Ljava/lang/String;
      intermediary method_5881 Lnet/minecraft/class_1605;method_5881()Ljava/lang/String;
      named getPath Lnet/minecraft/util/Identifier;getPath()Ljava/lang/String;
    • getNamespace

      @Environment(CLIENT) public String getNamespace()
      Mappings:
      Namespace Name Mixin selector
      official b Ljy;b()Ljava/lang/String;
      intermediary method_5883 Lnet/minecraft/class_1605;method_5883()Ljava/lang/String;
      named getNamespace Lnet/minecraft/util/Identifier;getNamespace()Ljava/lang/String;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Ljy;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1605;toString()Ljava/lang/String;
      named toString Lnet/minecraft/util/Identifier;toString()Ljava/lang/String;
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Ljy;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1605;hashCode()I
      named hashCode Lnet/minecraft/util/Identifier;hashCode()I