Package net.minecraft.network
Class PacketThreadUtil
- java.lang.Object
-
- net.minecraft.network.PacketThreadUtil
-
public class PacketThreadUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description PacketThreadUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <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_)
-
-
-
Method Detail
-
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
-
-