Package net.minecraft.network
Class NetworkThreadUtils
java.lang.Object
net.minecraft.network.NetworkThreadUtils
- Mappings:
Namespace Name official uq
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
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;Laif;)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;Lbcn;)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
-