Class MessageChainTaskQueue

java.lang.Object
net.minecraft.network.message.MessageChainTaskQueue
All Implemented Interfaces:
AutoCloseable, FutureQueue

public class MessageChainTaskQueue extends Object implements FutureQueue, AutoCloseable
Queues a future that handles received messages on the server thread.
Mappings:
Namespace Name
named net/minecraft/network/message/MessageChainTaskQueue
intermediary net/minecraft/class_7619
official azs
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/network/message/MessageChainTaskQueue;LOGGER:Lorg/slf4j/Logger;
      intermediary field_39828 Lnet/minecraft/class_7619;field_39828:Lorg/slf4j/Logger;
      official b Lazs;b:Lorg/slf4j/Logger;
    • current

      private CompletableFuture<?> current
      Mappings:
      Namespace Name Mixin selector
      named current Lnet/minecraft/network/message/MessageChainTaskQueue;current:Ljava/util/concurrent/CompletableFuture;
      intermediary field_39829 Lnet/minecraft/class_7619;field_39829:Ljava/util/concurrent/CompletableFuture;
      official c Lazs;c:Ljava/util/concurrent/CompletableFuture;
    • executor

      private final Executor executor
      Mappings:
      Namespace Name Mixin selector
      named executor Lnet/minecraft/network/message/MessageChainTaskQueue;executor:Ljava/util/concurrent/Executor;
      intermediary field_39830 Lnet/minecraft/class_7619;field_39830:Ljava/util/concurrent/Executor;
      official d Lazs;d:Ljava/util/concurrent/Executor;
    • closed

      private volatile boolean closed
      Mappings:
      Namespace Name Mixin selector
      named closed Lnet/minecraft/network/message/MessageChainTaskQueue;closed:Z
      intermediary field_40112 Lnet/minecraft/class_7619;field_40112:Z
      official e Lazs;e:Z
  • Constructor Details

    • MessageChainTaskQueue

      public MessageChainTaskQueue(Executor executor)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/network/message/MessageChainTaskQueue;<init>(Ljava/util/concurrent/Executor;)V
      intermediary <init> Lnet/minecraft/class_7619;<init>(Ljava/util/concurrent/Executor;)V
      official <init> Lazs;<init>(Ljava/util/concurrent/Executor;)V
  • Method Details

    • append

      public <T> void append(CompletableFuture<T> future, Consumer<T> callback)
      Specified by:
      append in interface FutureQueue
      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 Lbbc;append(Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Consumer;)V
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable