Class MinestomThread

java.lang.Object
java.lang.Thread
net.minestom.server.thread.MinestomThread
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TickThread, Worker

@Internal @NonExtendable public class MinestomThread extends Thread
  • Field Details

  • Constructor Details

    • MinestomThread

      public MinestomThread(@Nullable @Nullable Runnable target, String name)
    • MinestomThread

      public MinestomThread(Runnable target)
    • MinestomThread

      public MinestomThread(@NotNull @NotNull String name)
  • Method Details

    • localCache

      @Internal @Experimental public <T> T localCache(int index, Supplier<T> supplier)