Class NbtString

java.lang.Object
net.minecraft.nbt.NbtElement
net.minecraft.nbt.NbtString

public class NbtString extends NbtElement
Mappings:
Namespace Name
official ea
intermediary net/minecraft/class_579
named net/minecraft/nbt/NbtString
  • Field Details

    • value

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

    • NbtString

      public NbtString()
    • NbtString

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

    • write

      void write(DataOutput output) throws IOException
      Specified by:
      write in class NbtElement
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(Ljava/io/DataOutput;)V
      intermediary method_1650 Lnet/minecraft/class_605;method_1650(Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/NbtElement;write(Ljava/io/DataOutput;)V
    • read

      void read(DataInput input, int depth, PositionTracker tracker) throws IOException
      Specified by:
      read in class NbtElement
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a(Ljava/io/DataInput;ILdw;)V
      intermediary method_1649 Lnet/minecraft/class_605;method_1649(Ljava/io/DataInput;ILnet/minecraft/class_1944;)V
      named read Lnet/minecraft/nbt/NbtElement;read(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)V
    • getType

      public byte getType()
      Specified by:
      getType in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official a Leb;a()B
      intermediary method_1645 Lnet/minecraft/class_605;method_1645()B
      named getType Lnet/minecraft/nbt/NbtElement;getType()B
    • toString

      public String toString()
      Specified by:
      toString in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official toString Leb;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_605;toString()Ljava/lang/String;
      named toString Lnet/minecraft/nbt/NbtElement;toString()Ljava/lang/String;
    • copy

      public NbtElement copy()
      Specified by:
      copy in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official b Leb;b()Leb;
      intermediary method_1651 Lnet/minecraft/class_605;method_1651()Lnet/minecraft/class_605;
      named copy Lnet/minecraft/nbt/NbtElement;copy()Lnet/minecraft/nbt/NbtElement;
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official c_ Leb;c_()Z
      intermediary method_4386 Lnet/minecraft/class_605;method_4386()Z
      named isEmpty Lnet/minecraft/nbt/NbtElement;isEmpty()Z
    • equals

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

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

      public String asString()
      Overrides:
      asString in class NbtElement
      Mappings:
      Namespace Name Mixin selector
      official a_ Leb;a_()Ljava/lang/String;
      intermediary method_7370 Lnet/minecraft/class_605;method_7370()Ljava/lang/String;
      named asString Lnet/minecraft/nbt/NbtElement;asString()Ljava/lang/String;