Class StringTag

java.lang.Object
net.minecraft.nbt.Tag
net.minecraft.nbt.StringTag

public class StringTag
extends Tag
Mappings:
Namespace Name
official ea
intermediary net/minecraft/class_1418
named net/minecraft/nbt/StringTag
  • Field Details

    • value

      private String value
      Mappings:
      Namespace Name Mixin selector
      official b Lea;b:Ljava/lang/String;
      intermediary field_5926 Lnet/minecraft/class_1418;field_5926:Ljava/lang/String;
      named value Lnet/minecraft/nbt/StringTag;value:Ljava/lang/String;
  • Constructor Details

    • StringTag

      public StringTag()
    • StringTag

      public StringTag​(String value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lea;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1418;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/nbt/StringTag;<init>(Ljava/lang/String;)V
  • Method Details

    • write

      void write​(DataOutput output) throws IOException
      Specified by:
      write in class Tag
      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

      void read​(DataInput input, int depth, PositionTracker tracker) throws IOException
      Specified by:
      read in class Tag
      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
    • getType

      public byte getType()
      Specified by:
      getType in class Tag
      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
    • toString

      public String toString()
      Specified by:
      toString in class Tag
      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;
    • copy

      public Tag copy()
      Specified by:
      copy in class Tag
      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()
      Overrides:
      isEmpty in class Tag
      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 Tag
      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 Tag
      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

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