Class ITaskQueue.RunnableWithPriority

java.lang.Object
net.minecraft.util.concurrent.ITaskQueue.RunnableWithPriority
All Implemented Interfaces:
Runnable
Enclosing interface:
ITaskQueue<T,F>

public static final class ITaskQueue.RunnableWithPriority extends Object implements Runnable
  • Field Details

    • priority

      private final int priority
    • task

      private final Runnable task
  • Constructor Details

    • RunnableWithPriority

      public RunnableWithPriority(int p_i50963_1_, Runnable p_i50963_2_)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • getPriority

      public int getPriority()