Class GeyserStandaloneGUI

java.lang.Object
org.geysermc.geyser.platform.standalone.gui.GeyserStandaloneGUI

public class GeyserStandaloneGUI extends Object
  • Constructor Details

    • GeyserStandaloneGUI

      public GeyserStandaloneGUI(org.geysermc.geyser.GeyserLogger logger)
      Create and show the Geyser-Standalone GUI
      Parameters:
      logger - the logger for determining debug mode, and executing commands from the console
  • Method Details

    • addGuiAppender

      public void addGuiAppender()
      Redirect the default io streams to the text pane
    • enableCommands

      public void enableCommands(ScheduledExecutorService executor, org.geysermc.geyser.command.CommandRegistry registry)
      Enables the command input box.
      Parameters:
      executor - the executor that commands will be run on
      registry - the command registry containing all current commands
    • startUpdateThread

      public void startUpdateThread()
      Start the thread to update the form information every 1s