Class UsernameCache.SaveThread

java.lang.Object
java.lang.Thread
net.neoforged.neoforge.common.UsernameCache.SaveThread
All Implemented Interfaces:
Runnable
Enclosing class:
UsernameCache

private static class UsernameCache.SaveThread extends Thread
Used for saving the Gson representation of the cache to disk
  • Field Details

    • data

      private final String data
      The data that will be saved to disk
  • Constructor Details

    • SaveThread

      public SaveThread(String data)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread