Class NbtScoreboardIoReader

java.lang.Object
net.glowstone.scoreboard.NbtScoreboardIoReader

public class NbtScoreboardIoReader extends Object
  • Constructor Details

    • NbtScoreboardIoReader

      public NbtScoreboardIoReader()
  • Method Details

    • readMainScoreboard

      public static GlowScoreboard readMainScoreboard(File path) throws IOException
      Loads the scoreboard status from an NBT file.
      Parameters:
      path - the file path
      Returns:
      the loaded scoreboard
      Throws:
      IOException - if the file cannot be read