public class LongArrayTag extends SpecificTag
TAG_Long_Array was added in Minecraft 1.13 snapshots.
| Modifier and Type | Field and Description |
|---|---|
long[] |
value |
END, TAG_BYTE, TAG_BYTE_ARRAY, TAG_COMPOUND, TAG_DOUBLE, TAG_END, TAG_FLOAT, TAG_INT, TAG_INT_ARRAY, TAG_LIST, TAG_LONG, TAG_LONG_ARRAY, TAG_SHORT, TAG_STRING| Constructor and Description |
|---|
LongArrayTag(long[] data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
extraInfo()
Extra information for this tag, printed in the tree dump.
|
long[] |
getData() |
int |
hashCode() |
boolean |
isLongArray(int size)
Test if this is a long array with a size greater or equal to the given size.
|
long[] |
longArray() |
long[] |
longArray(long[] defaultValue) |
static SpecificTag |
read(java.io.DataInputStream in) |
java.lang.String |
tagName() |
int |
tagType() |
java.lang.String |
type() |
void |
write(java.io.DataOutputStream out) |
clone, read, writeTypeasCompound, asList, boolValue, boolValue, byteArray, byteArray, byteValue, byteValue, doubleValue, doubleValue, dumpTree, error, floatValue, floatValue, get, get, intArray, intArray, intValue, intValue, isByteArray, isCompoundTag, isEnd, isError, isIntArray, isList, isNamed, longValue, longValue, printTag, printTagInfo, same, set, set, shortValue, shortValue, stringValue, stringValue, toString, unpackpublic static SpecificTag read(java.io.DataInputStream in)
public void write(java.io.DataOutputStream out)
throws java.io.IOException
public long[] getData()
public java.lang.String extraInfo()
Tagpublic java.lang.String type()
public int tagType()
tagType in class SpecificTagpublic boolean isLongArray(int size)
TagisLongArray in class Tagpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object