Uses of Class
net.minecraft.server.world.ChunkHolder
-
Uses of ChunkHolder in net.minecraft.server.world
Modifier and TypeFieldDescriptionprivate final ChunkHolder
ServerChunkManager.ChunkWithHolder.holder
The field for theholder
record component.Modifier and TypeFieldDescriptionprivate Long2ObjectLinkedOpenHashMap
<ChunkHolder> ThreadedAnvilChunkStorage.chunkHolders
(package private) final Set
<ChunkHolder> ChunkTicketManager.chunkHoldersWithPendingUpdates
private final Long2ObjectLinkedOpenHashMap
<ChunkHolder> ThreadedAnvilChunkStorage.chunksToUnload
private final Long2ObjectLinkedOpenHashMap
<ChunkHolder> ThreadedAnvilChunkStorage.currentChunkHolders
Modifier and TypeMethodDescriptionprotected abstract @Nullable ChunkHolder
ChunkTicketManager.getChunkHolder
(long pos) private @Nullable ChunkHolder
ServerChunkManager.getChunkHolder
(long pos) protected @Nullable ChunkHolder
ThreadedAnvilChunkStorage.getChunkHolder
(long pos) protected @Nullable ChunkHolder
ThreadedAnvilChunkStorage.TicketManager.getChunkHolder
(long pos) protected @Nullable ChunkHolder
ThreadedAnvilChunkStorage.getCurrentChunkHolder
(long pos) ServerChunkManager.ChunkWithHolder.holder()
Returns the value of theholder
record component.protected abstract @Nullable ChunkHolder
ChunkTicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) (package private) @Nullable ChunkHolder
ThreadedAnvilChunkStorage.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Sets the loading level ofChunkHolder
s.protected @Nullable ChunkHolder
ThreadedAnvilChunkStorage.TicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Modifier and TypeMethodDescriptionprotected Iterable
<ChunkHolder> ThreadedAnvilChunkStorage.entryIterator()
Modifier and TypeMethodDescriptionprivate CompletableFuture
<Chunk> ThreadedAnvilChunkStorage.convertToFullChunk
(ChunkHolder chunkHolder, Chunk chunk) static ChunkTaskPrioritySystem.Task
<Runnable> ChunkTaskPrioritySystem.createMessage
(ChunkHolder holder, Runnable task) static <T> ChunkTaskPrioritySystem.Task
<T> ChunkTaskPrioritySystem.createTask
(ChunkHolder holder, Function<MessageListener<Unit>, T> taskFunction) ThreadedAnvilChunkStorage.getChunk
(ChunkHolder holder, ChunkStatus requiredStatus) private CompletableFuture
<OptionalChunk<List<Chunk>>> ThreadedAnvilChunkStorage.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) private boolean
ServerChunkManager.isMissingForLevel
(@Nullable ChunkHolder holder, int maxLevel) ThreadedAnvilChunkStorage.makeChunkAccessible
(ChunkHolder holder) ThreadedAnvilChunkStorage.makeChunkEntitiesTickable
(ChunkHolder chunk) ThreadedAnvilChunkStorage.makeChunkTickable
(ChunkHolder holder) private boolean
ThreadedAnvilChunkStorage.save
(ChunkHolder chunkHolder) protected abstract @Nullable ChunkHolder
ChunkTicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) (package private) @Nullable ChunkHolder
ThreadedAnvilChunkStorage.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Sets the loading level ofChunkHolder
s.protected @Nullable ChunkHolder
ThreadedAnvilChunkStorage.TicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) private void
ThreadedAnvilChunkStorage.tryUnloadChunk
(long pos, ChunkHolder holder) private CompletableFuture
<OptionalChunk<Chunk>> ThreadedAnvilChunkStorage.upgradeChunk
(ChunkHolder holder, ChunkStatus requiredStatus) ModifierConstructorDescription(package private)
ChunkWithHolder
(WorldChunk worldChunk, ChunkHolder chunkHolder)