Class MCAsyncKt

  • All Implemented Interfaces:

    
    public final class MCAsyncKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final CoroutineContext getAsync()
      final CoroutineContext getMinecraft()
      final static BukkitTask async(Object $self, Plugin plugin, Long delayTicks, Long repeatingTicks, Function0<Unit> f) Executes the given f via the plugin asynchronous.
      final static BukkitTask sync(Object $self, Plugin plugin, Long delayTicks, Long repeatingTicks, Function0<Unit> f) Executes the given f via the plugin synchronized with the server tick.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait