Package net.md_5.bungee.nbt.type
Class ShortTag
java.lang.Object
net.md_5.bungee.nbt.type.ShortTag
-
Field Summary
Fields inherited from interface net.md_5.bungee.nbt.Tag
ARRAY_HEADER, BYTE, BYTE_ARRAY, COMPOUND, CONSTRUCTORS, DOUBLE, END, FLOAT, INT, INT_ARRAY, LIST, LONG, LONG_ARRAY, OBJECT_HEADER, OBJECT_REFERENCE, SHORT, STRING, STRING_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbytegetId()Gets the id of this tag's type.shortgetValue()inthashCode()voidread(DataInput input, NBTLimiter limiter) Reads the data into this tag.voidsetValue(short value) toString()voidwrite(DataOutput output) Writes this tag into aDataOutput.
-
Constructor Details
-
ShortTag
public ShortTag() -
ShortTag
public ShortTag(short value)
-
-
Method Details
-
read
Description copied from interface:TagReads the data into this tag.- Specified by:
readin interfaceTag- Parameters:
input- the input to read fromlimiter- the limiter for this read operation- Throws:
IOException- if an exception occurs during io operations
-
write
Description copied from interface:TagWrites this tag into aDataOutput.- Specified by:
writein interfaceTag- Parameters:
output- the output to write to- Throws:
IOException- if an exception occurs during io operations
-
getId
public byte getId()Description copied from interface:TypedTagGets the id of this tag's type. -
getValue
public short getValue() -
setValue
public void setValue(short value) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-