Package net.minecraft.network
Class NetworkThreadUtils
java.lang.Object
net.minecraft.network.NetworkThreadUtils
- Mappings:
Namespace Name named net/minecraft/network/NetworkThreadUtils
intermediary net/minecraft/class_2600
official aaf
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends PacketListener>
CrashExceptioncreateCrashException
(Exception exception, Packet<T> packet, T listener) static <T extends PacketListener>
voidfillCrashReport
(CrashReport report, T listener, @Nullable Packet<T> packet) static <T extends PacketListener>
voidforceMainThread
(Packet<T> packet, T listener, ServerWorld world) static <T extends PacketListener>
voidforceMainThread
(Packet<T> packet, T listener, ThreadExecutor<?> engine)
-
Field Details
-
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
Laaf;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
Laaf;a(Laac;Lxb;Lash;)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
Laaf;a(Laac;Lxb;Lbrx;)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
Laaf;a(Ljava/lang/Exception;Laac;Lxb;)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
Laaf;a(Lo;Lxb;Laac;)V
-