Class NetworkThreadUtils

java.lang.Object
net.minecraft.network.NetworkThreadUtils

public class NetworkThreadUtils extends Object
Mappings:
Namespace Name
official uq
intermediary net/minecraft/class_2600
named net/minecraft/network/NetworkThreadUtils
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Luq;a:Lorg/slf4j/Logger;
      intermediary field_20318 Lnet/minecraft/class_2600;field_20318:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/network/NetworkThreadUtils;LOGGER:Lorg/slf4j/Logger;
  • Constructor Details

    • NetworkThreadUtils

      public NetworkThreadUtils()
  • Method Details

    • forceMainThread

      public static <T extends PacketListener> void forceMainThread(Packet<T> packet, T listener, ServerWorld world) throws OffThreadException
      Throws:
      OffThreadException
      Mappings:
      Namespace Name Mixin selector
      official a Luq;a(Luo;Lsk;Laid;)V
      intermediary method_11073 Lnet/minecraft/class_2600;method_11073(Lnet/minecraft/class_2596;Lnet/minecraft/class_2547;Lnet/minecraft/class_3218;)V
      named forceMainThread Lnet/minecraft/network/NetworkThreadUtils;forceMainThread(Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;Lnet/minecraft/server/world/ServerWorld;)V
    • forceMainThread

      public static <T extends PacketListener> void forceMainThread(Packet<T> packet, T listener, ThreadExecutor<?> engine) throws OffThreadException
      Throws:
      OffThreadException
      Mappings:
      Namespace Name Mixin selector
      official a Luq;a(Luo;Lsk;Lbck;)V
      intermediary method_11074 Lnet/minecraft/class_2600;method_11074(Lnet/minecraft/class_2596;Lnet/minecraft/class_2547;Lnet/minecraft/class_1255;)V
      named forceMainThread Lnet/minecraft/network/NetworkThreadUtils;forceMainThread(Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;Lnet/minecraft/util/thread/ThreadExecutor;)V