Class NBTByte
java.lang.Object
com.github.retrooper.packetevents.protocol.nbt.NBT
com.github.retrooper.packetevents.protocol.nbt.NBTNumber
com.github.retrooper.packetevents.protocol.nbt.NBTByte
-
Field Details
-
value
protected final byte value
-
-
Constructor Details
-
NBTByte
public NBTByte(byte value) -
NBTByte
public NBTByte(boolean value)
-
-
Method Details
-
getAsBool
public boolean getAsBool() -
getType
-
getAsNumber
- Specified by:
getAsNumber
in classNBTNumber
-
getAsByte
public byte getAsByte() -
getAsShort
public short getAsShort()- Specified by:
getAsShort
in classNBTNumber
-
getAsInt
public int getAsInt() -
getAsLong
public long getAsLong() -
getAsFloat
public float getAsFloat()- Specified by:
getAsFloat
in classNBTNumber
-
getAsDouble
public double getAsDouble()- Specified by:
getAsDouble
in classNBTNumber
-
hashCode
public int hashCode() -
equals
-
copy
-
toString
-