Package net.minestom.server.thread
package net.minestom.server.thread
-
ClassDescriptionAcquirable<T>An object that is a source of
Acquirable
objects, and can be synchronized within aThreadDispatcher
.Acquired<T>Represents an object that has been safely acquired and can be freed again.ThreadDispatcher can be used to dispatch updates (ticks) across a number of "partitions" (such as chunks) that houseTickable
instances (such as entities).A data structure which may containTickable
s, and is assigned a singleTickThread
.Defines how often chunks thread should be refreshed.