Interface FutureQueue

All Known Implementing Classes:
MessageChainTaskQueue
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface FutureQueue
A functional interface that can enqueue completable futures.
Mappings:
Namespace Name
official avm
intermediary net/minecraft/class_7620
named net/minecraft/util/thread/FutureQueue
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lavm;a:Lorg/slf4j/Logger;
      intermediary field_39831 Lnet/minecraft/class_7620;field_39831:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/thread/FutureQueue;LOGGER:Lorg/slf4j/Logger;
  • Method Details

    • immediate

      static FutureQueue immediate(Executor executor)
      Mappings:
      Namespace Name Mixin selector
      official immediate Lavm;immediate(Ljava/util/concurrent/Executor;)Lavm;
      intermediary immediate Lnet/minecraft/class_7620;immediate(Ljava/util/concurrent/Executor;)Lnet/minecraft/class_7620;
      named immediate Lnet/minecraft/util/thread/FutureQueue;immediate(Ljava/util/concurrent/Executor;)Lnet/minecraft/util/thread/FutureQueue;
    • append

      default void append(Runnable callback)
      Mappings:
      Namespace Name Mixin selector
      official append Lavm;append(Ljava/lang/Runnable;)V
      intermediary append Lnet/minecraft/class_7620;append(Ljava/lang/Runnable;)V
      named append Lnet/minecraft/util/thread/FutureQueue;append(Ljava/lang/Runnable;)V
    • append

      <T> void append(CompletableFuture<T> future, Consumer<T> callback)
      Mappings:
      Namespace Name Mixin selector
      official append Lavm;append(Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Consumer;)V
      intermediary append Lnet/minecraft/class_7620;append(Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Consumer;)V
      named append Lnet/minecraft/util/thread/FutureQueue;append(Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Consumer;)V