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
named net/minecraft/util/thread/FutureQueue
intermediary net/minecraft/class_7620
official azw
  • Field Details

    • LOGGER

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

    • immediate

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

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

      <T> void append(CompletableFuture<T> future, Consumer<T> callback)
      Mappings:
      Namespace Name Mixin selector
      named append Lnet/minecraft/util/thread/FutureQueue;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
      official append Lazw;append(Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Consumer;)V