Package net.minestom.server.thread
@NotNullByDefault
package net.minestom.server.thread
-
ClassDescriptionAcquirable<T>Exception thrown when an acquirable element is accessed without proper ownership.An object that is a source of
Acquirableobjects, and can be synchronized within aThreadDispatcher.Acquired<T>Represents an object that has been safely acquired and can be freed again.ThreadDispatcher<P, E extends Tickable>ThreadDispatcher can be used to dispatch updates (ticks) across a number of "partitions" (such as chunks) that houseTickableinstances (such as entities).Removes an element.Updates an element}, signalling that it is a part ofpartition.Registers a new partition.Deletes an existing partition.Defines how often chunks thread should be refreshed.