Interface TaskQueue<T extends Runnable>

All Known Implementing Classes:
TaskQueue.Prioritized, TaskQueue.Simple

public interface TaskQueue<T extends Runnable>
Mappings:
Namespace Name
named net/minecraft/util/thread/TaskQueue
intermediary net/minecraft/class_3847
official bsc
  • Method Details

    • poll

      Mappings:
      Namespace Name Mixin selector
      named poll Lnet/minecraft/util/thread/TaskQueue;poll()Ljava/lang/Runnable;
      intermediary method_16909 Lnet/minecraft/class_3847;method_16909()Ljava/lang/Runnable;
      official a Lbsc;a()Ljava/lang/Runnable;
    • add

      boolean add(T t)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/thread/TaskQueue;add(Ljava/lang/Runnable;)Z
      intermediary method_16910 Lnet/minecraft/class_3847;method_16910(Ljava/lang/Runnable;)Z
      official a Lbsc;a(Ljava/lang/Runnable;)Z
    • isEmpty

      boolean isEmpty()
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/util/thread/TaskQueue;isEmpty()Z
      intermediary method_16911 Lnet/minecraft/class_3847;method_16911()Z
      official b Lbsc;b()Z
    • getSize

      int getSize()
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/util/thread/TaskQueue;getSize()I
      intermediary method_34706 Lnet/minecraft/class_3847;method_34706()I
      official c Lbsc;c()I