Class NumberNBT

java.lang.Object
net.minecraft.nbt.NumberNBT
All Implemented Interfaces:
INBT
Direct Known Subclasses:
ByteNBT, DoubleNBT, FloatNBT, IntNBT, LongNBT, ShortNBT

public abstract class NumberNBT extends Object implements INBT
  • Constructor Details

    • NumberNBT

      protected NumberNBT()
  • Method Details

    • getAsLong

      public abstract long getAsLong()
    • getAsInt

      public abstract int getAsInt()
    • getAsShort

      public abstract short getAsShort()
    • getAsByte

      public abstract byte getAsByte()
    • getAsDouble

      public abstract double getAsDouble()
    • getAsFloat

      public abstract float getAsFloat()
    • getAsNumber

      public abstract Number getAsNumber()