Package net.minecraft.network
Class PacketThreadUtil
java.lang.Object
net.minecraft.network.PacketThreadUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends INetHandler>
voidensureRunningOnSameThread
(IPacket<T> p_218797_0_, T p_218797_1_, ThreadTaskExecutor<?> p_218797_2_) static <T extends INetHandler>
voidensureRunningOnSameThread
(IPacket<T> p_218796_0_, T p_218796_1_, ServerWorld p_218796_2_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
-
Constructor Details
-
PacketThreadUtil
public PacketThreadUtil()
-
-
Method Details
-
ensureRunningOnSameThread
public static <T extends INetHandler> void ensureRunningOnSameThread(IPacket<T> p_218796_0_, T p_218796_1_, ServerWorld p_218796_2_) throws ThreadQuickExitException - Throws:
ThreadQuickExitException
-
ensureRunningOnSameThread
public static <T extends INetHandler> void ensureRunningOnSameThread(IPacket<T> p_218797_0_, T p_218797_1_, ThreadTaskExecutor<?> p_218797_2_) throws ThreadQuickExitException - Throws:
ThreadQuickExitException
-