public class PacketThreadUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
Constructor and Description |
---|
PacketThreadUtil() |
Modifier and Type | Method and Description |
---|---|
static <T extends INetHandler> |
checkThreadAndEnqueue(IPacket<T> packetIn,
T processor,
ServerWorld worldIn) |
static <T extends INetHandler> |
checkThreadAndEnqueue(IPacket<T> packetIn,
T processor,
ThreadTaskExecutor<?> executor) |
public static <T extends INetHandler> void checkThreadAndEnqueue(IPacket<T> packetIn, T processor, ServerWorld worldIn) throws ThreadQuickExitException
ThreadQuickExitException
public static <T extends INetHandler> void checkThreadAndEnqueue(IPacket<T> packetIn, T processor, ThreadTaskExecutor<?> executor) throws ThreadQuickExitException
ThreadQuickExitException