Class AbstractNumberTag

java.lang.Object
net.minecraft.nbt.AbstractNumberTag
All Implemented Interfaces:
Tag
Direct Known Subclasses:
ByteTag, DoubleTag, FloatTag, IntTag, LongTag, ShortTag

public abstract class AbstractNumberTag
extends Object
implements Tag
Mappings:
Namespace Name
official nd
intermediary net/minecraft/class_2514
named net/minecraft/nbt/AbstractNumberTag
  • Constructor Details

    • AbstractNumberTag

      protected AbstractNumberTag()
  • Method Details

    • getLong

      public abstract long getLong()
      Mappings:
      Namespace Name Mixin selector
      official e Lnd;e()J
      intermediary method_10699 Lnet/minecraft/class_2514;method_10699()J
      named getLong Lnet/minecraft/nbt/AbstractNumberTag;getLong()J
    • getInt

      public abstract int getInt()
      Mappings:
      Namespace Name Mixin selector
      official f Lnd;f()I
      intermediary method_10701 Lnet/minecraft/class_2514;method_10701()I
      named getInt Lnet/minecraft/nbt/AbstractNumberTag;getInt()I
    • getShort

      public abstract short getShort()
      Mappings:
      Namespace Name Mixin selector
      official g Lnd;g()S
      intermediary method_10696 Lnet/minecraft/class_2514;method_10696()S
      named getShort Lnet/minecraft/nbt/AbstractNumberTag;getShort()S
    • getByte

      public abstract byte getByte()
      Mappings:
      Namespace Name Mixin selector
      official h Lnd;h()B
      intermediary method_10698 Lnet/minecraft/class_2514;method_10698()B
      named getByte Lnet/minecraft/nbt/AbstractNumberTag;getByte()B
    • getDouble

      public abstract double getDouble()
      Mappings:
      Namespace Name Mixin selector
      official i Lnd;i()D
      intermediary method_10697 Lnet/minecraft/class_2514;method_10697()D
      named getDouble Lnet/minecraft/nbt/AbstractNumberTag;getDouble()D
    • getFloat

      public abstract float getFloat()
      Mappings:
      Namespace Name Mixin selector
      official j Lnd;j()F
      intermediary method_10700 Lnet/minecraft/class_2514;method_10700()F
      named getFloat Lnet/minecraft/nbt/AbstractNumberTag;getFloat()F
    • getNumber

      public abstract Number getNumber()
      Mappings:
      Namespace Name Mixin selector
      official k Lnd;k()Ljava/lang/Number;
      intermediary method_10702 Lnet/minecraft/class_2514;method_10702()Ljava/lang/Number;
      named getNumber Lnet/minecraft/nbt/AbstractNumberTag;getNumber()Ljava/lang/Number;
    • toString

      public String toString()
      Specified by:
      toString in interface Tag
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lni;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2520;toString()Ljava/lang/String;
      named toString Lnet/minecraft/nbt/Tag;toString()Ljava/lang/String;