Class ClientThread


  • @Singleton
    public class ClientThread
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientThread()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void invoke​(java.lang.Runnable r)  
      void invoke​(java.util.function.BooleanSupplier r)
      Will run r on the game thread, at an unspecified point in the future.
      void invokeAtTickEnd​(java.lang.Runnable r)  
      void invokeLater​(java.lang.Runnable r)
      Will run r on the game thread after this method returns If r returns false, r will be ran again, at a later point
      void invokeLater​(java.util.function.BooleanSupplier r)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientThread

        public ClientThread()
    • Method Detail

      • invoke

        public void invoke​(java.lang.Runnable r)
      • invoke

        public void invoke​(java.util.function.BooleanSupplier r)
        Will run r on the game thread, at an unspecified point in the future. If r returns false, r will be ran again, at a later point
      • invokeLater

        public void invokeLater​(java.lang.Runnable r)
        Will run r on the game thread after this method returns If r returns false, r will be ran again, at a later point
      • invokeLater

        public void invokeLater​(java.util.function.BooleanSupplier r)
      • invokeAtTickEnd

        public void invokeAtTickEnd​(java.lang.Runnable r)