Uses of Class
net.minecraft.server.RunningOnDifferentThreadException
Packages that use RunningOnDifferentThreadException
-
Uses of RunningOnDifferentThreadException in net.minecraft.network.protocol
Methods in net.minecraft.network.protocol that throw RunningOnDifferentThreadExceptionModifier and TypeMethodDescriptionstatic <T extends PacketListener>
voidPacketUtils.ensureRunningOnSameThread
(Packet<T> pPacket, T pProcessor, ServerLevel pLevel) Ensures that the given packet is handled on the main thread.static <T extends PacketListener>
voidPacketUtils.ensureRunningOnSameThread
(Packet<T> pPacket, T pProcessor, BlockableEventLoop<?> pExecutor) Ensures that the given packet is handled on the main thread. -
Uses of RunningOnDifferentThreadException in net.minecraft.server
Fields in net.minecraft.server declared as RunningOnDifferentThreadExceptionModifier and TypeFieldDescriptionstatic final RunningOnDifferentThreadException
RunningOnDifferentThreadException.RUNNING_ON_DIFFERENT_THREAD