public interface INbtWriter
| Modifier and Type | Method and Description |
|---|---|
default void |
write(java.io.DataOutput out,
INbtTag tag)
Write a generic Nbt tag.
|
void |
writeByte(java.io.DataOutput out,
ByteTag tag)
Write a byte tag.
|
void |
writeByteArray(java.io.DataOutput out,
ByteArrayTag value)
Write a byte array tag.
|
void |
writeCompound(java.io.DataOutput out,
CompoundTag value)
Write a compound tag.
|
void |
writeDouble(java.io.DataOutput out,
DoubleTag value)
Write a double tag.
|
void |
writeFloat(java.io.DataOutput out,
FloatTag value)
Write a float tag.
|
void |
writeHeader(java.io.DataOutput out,
NbtHeader header)
Write the header of a Nbt tag.
|
void |
writeInt(java.io.DataOutput out,
IntTag value)
Write an int tag.
|
void |
writeIntArray(java.io.DataOutput out,
IntArrayTag value)
Write an int array tag.
|
void |
writeList(java.io.DataOutput out,
ListTag<?> value)
Write a list tag.
|
void |
writeLong(java.io.DataOutput out,
LongTag value)
Write a long tag.
|
void |
writeLongArray(java.io.DataOutput out,
LongArrayTag value)
Write a long array tag.
|
void |
writeShort(java.io.DataOutput out,
ShortTag tag)
Write a short tag.
|
void |
writeString(java.io.DataOutput out,
StringTag value)
Write a string tag.
|
void writeHeader(java.io.DataOutput out,
NbtHeader header)
throws java.io.IOException
out - The data outputheader - The headerjava.io.IOException - If an I/O error occursdefault void write(java.io.DataOutput out,
INbtTag tag)
throws java.io.IOException
out - The data outputtag - The tagjava.io.IOException - If an I/O error occursvoid writeByte(java.io.DataOutput out,
ByteTag tag)
throws java.io.IOException
out - The data outputtag - The byte tagjava.io.IOException - If an I/O error occursvoid writeShort(java.io.DataOutput out,
ShortTag tag)
throws java.io.IOException
out - The data outputtag - The short tagjava.io.IOException - If an I/O error occursvoid writeInt(java.io.DataOutput out,
IntTag value)
throws java.io.IOException
out - The data outputvalue - The int tagjava.io.IOException - If an I/O error occursvoid writeLong(java.io.DataOutput out,
LongTag value)
throws java.io.IOException
out - The data outputvalue - The long tagjava.io.IOException - If an I/O error occursvoid writeFloat(java.io.DataOutput out,
FloatTag value)
throws java.io.IOException
out - The data outputvalue - The float tagjava.io.IOException - If an I/O error occursvoid writeDouble(java.io.DataOutput out,
DoubleTag value)
throws java.io.IOException
out - The data outputvalue - The double tagjava.io.IOException - If an I/O error occursvoid writeByteArray(java.io.DataOutput out,
ByteArrayTag value)
throws java.io.IOException
out - The data outputvalue - The byte array tagjava.io.IOException - If an I/O error occursvoid writeString(java.io.DataOutput out,
StringTag value)
throws java.io.IOException
out - The data outputvalue - The string tagjava.io.IOException - If an I/O error occursvoid writeList(java.io.DataOutput out,
ListTag<?> value)
throws java.io.IOException
out - The data outputvalue - The list tagjava.io.IOException - If an I/O error occursvoid writeCompound(java.io.DataOutput out,
CompoundTag value)
throws java.io.IOException
out - The data outputvalue - The compound tagjava.io.IOException - If an I/O error occursvoid writeIntArray(java.io.DataOutput out,
IntArrayTag value)
throws java.io.IOException
out - The data outputvalue - The int array tagjava.io.IOException - If an I/O error occursvoid writeLongArray(java.io.DataOutput out,
LongArrayTag value)
throws java.io.IOException
out - The data outputvalue - The long array tagjava.io.IOException - If an I/O error occurs