NBTTag.NBTTagType| Constructor and Description |
|---|
ByteArrayTag(byte[] val)
Creates a ByteArrayTag with a given value.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_print(PrintStream stream,
String indent) |
void |
_read(io.netty.buffer.ByteBuf buf) |
void |
_write(io.netty.buffer.ByteBuf buf) |
byte[] |
get()
Gets this tag's value.
|
void |
set(byte[] val)
Sets the value of this tag.
|
getAsByteArray, getAsByteArrayTag, getAsCompoundTag, getAsIntArray, getAsIntArrayTag, getAsListTag, getAsNumber, getAsNumberTag, getAsString, getAsStringTag, getName, getTypeId, indent, isByteArray, isCompoundTag, isIntArray, isListTag, isNumber, isString, name, print, read, readString, setHasName, setName, setWriteType, toString, write, writeStringpublic ByteArrayTag(byte[] val)
val - The value.public byte[] get()
public void set(byte[] val)
val - The new value.protected void _print(PrintStream stream, String indent)
Copyright © 2016. All rights reserved.