Class NetworkThreadUtils

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

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

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/network/NetworkThreadUtils;LOGGER:Lorg/slf4j/Logger;
      intermediary field_20318 Lnet/minecraft/class_2600;field_20318:Lorg/slf4j/Logger;
      official a Lzj;a: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
      named forceMainThread Lnet/minecraft/network/NetworkThreadUtils;forceMainThread(Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_11073 Lnet/minecraft/class_2600;method_11073(Lnet/minecraft/class_2596;Lnet/minecraft/class_2547;Lnet/minecraft/class_3218;)V
      official a Lzj;a(Lzg;Lwf;Laqu;)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
      named forceMainThread Lnet/minecraft/network/NetworkThreadUtils;forceMainThread(Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;Lnet/minecraft/util/thread/ThreadExecutor;)V
      intermediary method_11074 Lnet/minecraft/class_2600;method_11074(Lnet/minecraft/class_2596;Lnet/minecraft/class_2547;Lnet/minecraft/class_1255;)V
      official a Lzj;a(Lzg;Lwf;Lbph;)V
    • createCrashException

      public static <T extends PacketListener> CrashException createCrashException(Exception exception, Packet<T> packet, T listener)
      Mappings:
      Namespace Name Mixin selector
      named createCrashException Lnet/minecraft/network/NetworkThreadUtils;createCrashException(Ljava/lang/Exception;Lnet/minecraft/network/packet/Packet;Lnet/minecraft/network/listener/PacketListener;)Lnet/minecraft/util/crash/CrashException;
      intermediary method_59854 Lnet/minecraft/class_2600;method_59854(Ljava/lang/Exception;Lnet/minecraft/class_2596;Lnet/minecraft/class_2547;)Lnet/minecraft/class_148;
      official a Lzj;a(Ljava/lang/Exception;Lzg;Lwf;)Lz;
    • fillCrashReport

      public static <T extends PacketListener> void fillCrashReport(CrashReport report, T listener, @Nullable @Nullable Packet<T> packet)
      Mappings:
      Namespace Name Mixin selector
      named fillCrashReport Lnet/minecraft/network/NetworkThreadUtils;fillCrashReport(Lnet/minecraft/util/crash/CrashReport;Lnet/minecraft/network/listener/PacketListener;Lnet/minecraft/network/packet/Packet;)V
      intermediary method_59803 Lnet/minecraft/class_2600;method_59803(Lnet/minecraft/class_128;Lnet/minecraft/class_2547;Lnet/minecraft/class_2596;)V
      official a Lzj;a(Lo;Lwf;Lzg;)V