Class NbtScoreboardIoWriter

java.lang.Object
net.glowstone.scoreboard.NbtScoreboardIoWriter

public class NbtScoreboardIoWriter extends Object
  • Constructor Details

    • NbtScoreboardIoWriter

      public NbtScoreboardIoWriter()
  • Method Details

    • writeMainScoreboard

      public static void writeMainScoreboard(File path, GlowScoreboard scoreboard) throws IOException
      Saves a scoreboard to a compressed NBT file.
      Parameters:
      path - the file path to write to
      scoreboard - the scoreboard to save
      Throws:
      IOException - if the file cannot be written