Class Tag

java.lang.Object
net.minecraft.nbt.Tag
Direct Known Subclasses:
ByteArrayTag, CompoundTag, EndTag, IntArrayTag, ListTag, StringTag, Tag.NumberTag

public abstract class Tag
extends Object
Mappings:
Namespace Name
official eb
intermediary net/minecraft/class_1419
named net/minecraft/nbt/Tag
  • Field Details

    • TYPES

      public static final String[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a:[Ljava/lang/String;
      intermediary field_5927 Lnet/minecraft/class_1419;field_5927:[Ljava/lang/String;
      named TYPES Lnet/minecraft/nbt/Tag;TYPES:[Ljava/lang/String;
  • Constructor Details

    • Tag

      protected Tag()
  • Method Details

    • write

      abstract void write​(DataOutput output) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(Ljava/io/DataOutput;)V
      intermediary method_5062 Lnet/minecraft/class_1419;method_5062(Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/Tag;write(Ljava/io/DataOutput;)V
    • read

      abstract void read​(DataInput input, int depth, PositionTracker tracker) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(Ljava/io/DataInput;ILdw;)V
      intermediary method_5061 Lnet/minecraft/class_1419;method_5061(Ljava/io/DataInput;ILnet/minecraft/class_1413;)V
      named read Lnet/minecraft/nbt/Tag;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
    • toString

      public abstract String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Leb;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1419;toString()Ljava/lang/String;
      named toString Lnet/minecraft/nbt/Tag;toString()Ljava/lang/String;
    • getType

      public abstract byte getType()
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a()B
      intermediary method_5059 Lnet/minecraft/class_1419;method_5059()B
      named getType Lnet/minecraft/nbt/Tag;getType()B
    • createByTypeId

      protected static Tag createByTypeId​(byte id)
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(B)Leb;
      intermediary method_5060 Lnet/minecraft/class_1419;method_5060(B)Lnet/minecraft/class_1419;
      named createByTypeId Lnet/minecraft/nbt/Tag;createByTypeId(B)Lnet/minecraft/nbt/Tag;
    • copy

      public abstract Tag copy()
      Mappings:
      Namespace Name Mixin selector
      official b Leb;b()Leb;
      intermediary method_5064 Lnet/minecraft/class_1419;method_5064()Lnet/minecraft/class_1419;
      named copy Lnet/minecraft/nbt/Tag;copy()Lnet/minecraft/nbt/Tag;
    • isEmpty

      public boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      official c_ Leb;c_()Z
      intermediary method_5065 Lnet/minecraft/class_1419;method_5065()Z
      named isEmpty Lnet/minecraft/nbt/Tag;isEmpty()Z
    • equals

      public boolean equals​(Object other)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Leb;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_1419;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/nbt/Tag;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Mappings:
      Namespace Name Mixin selector
      official hashCode Leb;hashCode()I
      intermediary hashCode Lnet/minecraft/class_1419;hashCode()I
      named hashCode Lnet/minecraft/nbt/Tag;hashCode()I
    • asString

      protected String asString()
      Mappings:
      Namespace Name Mixin selector
      official a_ Leb;a_()Ljava/lang/String;
      intermediary method_5063 Lnet/minecraft/class_1419;method_5063()Ljava/lang/String;
      named asString Lnet/minecraft/nbt/Tag;asString()Ljava/lang/String;