public class NetworkThreadUtils extends Object
Constructor and Description |
---|
NetworkThreadUtils() |
Modifier and Type | Method and Description |
---|---|
static <T extends PacketListener> |
forceMainThread(Packet<T> packet,
T listener,
ServerWorld world) |
static <T extends PacketListener> |
forceMainThread(Packet<T> packet,
T listener,
ThreadExecutor<?> engine) |
private static final Logger LOGGER
public static <T extends PacketListener> void forceMainThread(Packet<T> packet, T listener, ServerWorld world)
public static <T extends PacketListener> void forceMainThread(Packet<T> packet, T listener, ThreadExecutor<?> engine)