Java Code Examples for cn.nukkit.nbt.stream.NBTOutputStream#writeUTF()
The following examples show how to use
cn.nukkit.nbt.stream.NBTOutputStream#writeUTF() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Tag.java From Jupiter with GNU General Public License v3.0 | 5 votes |
public static void writeNamedTag(Tag tag, NBTOutputStream dos) throws IOException { dos.writeByte(tag.getId()); if (tag.getId() == Tag.TAG_End) return; dos.writeUTF(tag.getName()); tag.write(dos); }
Example 2
Source File: Tag.java From Nukkit with GNU General Public License v3.0 | 5 votes |
public static void writeNamedTag(Tag tag, String name, NBTOutputStream dos) throws IOException { dos.writeByte(tag.getId()); if (tag.getId() == Tag.TAG_End) return; dos.writeUTF(name); tag.write(dos); }
Example 3
Source File: Tag.java From Nukkit with GNU General Public License v3.0 | 5 votes |
public static void writeNamedTag(Tag tag, NBTOutputStream dos) throws IOException { dos.writeByte(tag.getId()); if (tag.getId() == Tag.TAG_End) return; dos.writeUTF(tag.getName()); tag.write(dos); }
Example 4
Source File: StringTag.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override void write(NBTOutputStream dos) throws IOException { dos.writeUTF(data); }
Example 5
Source File: StringTag.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override void write(NBTOutputStream dos) throws IOException { dos.writeUTF(data); }
Example 6
Source File: StringTag.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override void write(NBTOutputStream dos) throws IOException { dos.writeUTF(data); }