Package net.minecraft.network
Class NetworkThreadUtils
java.lang.Object
net.minecraft.network.NetworkThreadUtils
- Mappings:
Namespace Name official pm
intermediary net/minecraft/class_2600
named net/minecraft/network/NetworkThreadUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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 official a
Lpm;a:Lorg/apache/logging/log4j/Logger;
intermediary field_20318
Lnet/minecraft/class_2600;field_20318:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/network/NetworkThreadUtils;LOGGER:Lorg/apache/logging/log4j/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
Lpm;a(Lpk;Loj;Labr;)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;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
Lpm;a(Lpk;Loj;Laqu;)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;Lnet/minecraft/network/listener/PacketListener;Lnet/minecraft/util/thread/ThreadExecutor;)V
-