@ParametersAreNonnullByDefault
public class BedrockNbtWriter
extends java.lang.Object
implements net.lenni0451.mcstructs.nbt.io.types.INbtWriter
| Constructor and Description |
|---|
BedrockNbtWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
writeByte(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ByteTag tag) |
void |
writeByteArray(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ByteArrayTag value) |
void |
writeCompound(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.CompoundTag value) |
void |
writeDouble(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.DoubleTag value) |
void |
writeFloat(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.FloatTag value) |
void |
writeHeader(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.io.NbtHeader header) |
void |
writeInt(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.IntTag value) |
void |
writeIntArray(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.IntArrayTag value) |
void |
writeList(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ListTag<?> value) |
void |
writeLong(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.LongTag value) |
void |
writeLongArray(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.LongArrayTag value) |
void |
writeShort(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ShortTag tag) |
void |
writeString(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.StringTag value) |
void |
writeType(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.NbtType type) |
public void writeType(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.NbtType type)
throws java.io.IOException
writeType in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeHeader(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.io.NbtHeader header)
throws java.io.IOException
writeHeader in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeByte(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ByteTag tag)
throws java.io.IOException
writeByte in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeShort(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ShortTag tag)
throws java.io.IOException
writeShort in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeInt(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.IntTag value)
throws java.io.IOException
writeInt in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeLong(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.LongTag value)
throws java.io.IOException
writeLong in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeFloat(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.FloatTag value)
throws java.io.IOException
writeFloat in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeDouble(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.DoubleTag value)
throws java.io.IOException
writeDouble in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeByteArray(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ByteArrayTag value)
throws java.io.IOException
writeByteArray in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeString(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.StringTag value)
throws java.io.IOException
writeString in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeList(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.ListTag<?> value)
throws java.io.IOException
writeList in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeCompound(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.CompoundTag value)
throws java.io.IOException
writeCompound in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeIntArray(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.IntArrayTag value)
throws java.io.IOException
writeIntArray in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriterjava.io.IOExceptionpublic void writeLongArray(java.io.DataOutput out,
net.lenni0451.mcstructs.nbt.tags.LongArrayTag value)
writeLongArray in interface net.lenni0451.mcstructs.nbt.io.types.INbtWriter