Uses of Interface
net.minecraft.util.thread.MessageListener
Package
Description
-
Uses of MessageListener in net.minecraft.client
-
Uses of MessageListener in net.minecraft.client.sound
-
Uses of MessageListener in net.minecraft.server
-
Uses of MessageListener in net.minecraft.server.dedicated
-
Uses of MessageListener in net.minecraft.server.integrated
-
Uses of MessageListener in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate final MessageListener<ChunkTaskPrioritySystem.Task<Runnable>>
ServerLightingProvider.executor
private final MessageListener<ChunkTaskPrioritySystem.Task<Runnable>>
ThreadedAnvilChunkStorage.mainExecutor
(package private) final MessageListener<ChunkTaskPrioritySystem.Task<Runnable>>
ChunkTicketManager.playerTicketThrottler
(package private) final MessageListener<ChunkTaskPrioritySystem.UnblockingMessage>
ChunkTicketManager.playerTicketThrottlerUnblocker
private final MessageListener<ChunkTaskPrioritySystem.Task<Runnable>>
ThreadedAnvilChunkStorage.worldGenExecutor
Modifier and TypeFieldDescriptionprivate final Set<MessageListener<?>>
ChunkTaskPrioritySystem.idleActors
private final Map<MessageListener<?>,
LevelPrioritizedQueue<? extends Function<MessageListener<Unit>, ?>>> ChunkTaskPrioritySystem.queues
private final Map<MessageListener<?>,
LevelPrioritizedQueue<? extends Function<MessageListener<Unit>, ?>>> ChunkTaskPrioritySystem.queues
(package private) final Function<MessageListener<Unit>,
T> ChunkTaskPrioritySystem.Task.taskFunction
Modifier and TypeMethodDescriptionChunkTaskPrioritySystem.createExecutor
(MessageListener<T> executor, boolean addBlocker) ChunkTaskPrioritySystem.createUnblockingExecutor
(MessageListener<Runnable> executor) Modifier and TypeMethodDescriptionprivate <T> LevelPrioritizedQueue<Function<MessageListener<Unit>,
T>> ChunkTaskPrioritySystem.getQueue
(MessageListener<T> actor) Modifier and TypeMethodDescriptionChunkTaskPrioritySystem.createExecutor
(MessageListener<T> executor, boolean addBlocker) ChunkTaskPrioritySystem.createUnblockingExecutor
(MessageListener<Runnable> executor) private <T> void
ChunkTaskPrioritySystem.enqueueChunk
(MessageListener<T> actor, Function<MessageListener<Unit>, T> task, long chunkPos, IntSupplier lastLevelUpdatedToProvider, boolean addBlocker) private <T> void
ChunkTaskPrioritySystem.enqueueExecution
(LevelPrioritizedQueue<Function<MessageListener<Unit>, T>> queue, MessageListener<T> actor) private <T> LevelPrioritizedQueue<Function<MessageListener<Unit>,
T>> ChunkTaskPrioritySystem.getQueue
(MessageListener<T> actor) private <T> void
ChunkTaskPrioritySystem.removeChunk
(MessageListener<T> actor, long chunkPos, Runnable callback, boolean clearTask) Modifier and TypeMethodDescriptionstatic <T> ChunkTaskPrioritySystem.Task<T>
ChunkTaskPrioritySystem.createTask
(Function<MessageListener<Unit>, T> taskFunction, long pos, IntSupplier lastLevelUpdatedToProvider) static <T> ChunkTaskPrioritySystem.Task<T>
ChunkTaskPrioritySystem.createTask
(ChunkHolder holder, Function<MessageListener<Unit>, T> taskFunction) private <T> void
ChunkTaskPrioritySystem.enqueueChunk
(MessageListener<T> actor, Function<MessageListener<Unit>, T> task, long chunkPos, IntSupplier lastLevelUpdatedToProvider, boolean addBlocker) private <T> void
ChunkTaskPrioritySystem.enqueueExecution
(LevelPrioritizedQueue<Function<MessageListener<Unit>, T>> queue, MessageListener<T> actor) ModifierConstructorDescriptionServerLightingProvider
(ChunkProvider chunkProvider, ThreadedAnvilChunkStorage chunkStorage, boolean hasBlockLight, TaskExecutor<Runnable> processor, MessageListener<ChunkTaskPrioritySystem.Task<Runnable>> executor) ModifierConstructorDescriptionChunkTaskPrioritySystem
(List<MessageListener<?>> actors, Executor executor, int maxQueues) (package private)
Task
(Function<MessageListener<Unit>, T> taskFunction, long pos, IntSupplier lastLevelUpdatedToProvider) -
Uses of MessageListener in net.minecraft.test
-
Uses of MessageListener in net.minecraft.util.thread
Modifier and TypeClassDescriptionclass
ReentrantThreadExecutor<R extends Runnable>
class
TaskExecutor<T>
class
ThreadExecutor<R extends Runnable>
Modifier and TypeMethodDescriptiondefault <Source> CompletableFuture<Source>
MessageListener.ask
(Function<? super MessageListener<Source>, ? extends Msg> messageProvider) Asks a message provider for a message.default <Source> CompletableFuture<Source>
MessageListener.askFallible
(Function<? super MessageListener<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> messageProvider) Asks a fallible message provider for a message.