java.lang.Object
at.syntaxerror.syntaxnbt.internal.NBTSerializer
A utility class for serializing NBT tags
- Author:
- SyntaxError404
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidserialize(String name, TagCompound compound, DataOutputStream output) Writes a compound tag to a stream (NBT format)
-
Constructor Details
-
NBTSerializer
public NBTSerializer()
-
-
Method Details
-
serialize
public static void serialize(String name, TagCompound compound, DataOutputStream output) throws IOException Writes a compound tag to a stream (NBT format)- Parameters:
name- name of the compound tag (optional)compound- compound tag to be serializedoutput- stream to write to- Throws:
IOException- if an I/O error occured
-