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> ServerChunkLoadingManager.chunkHolders
(package private) final Set
<ChunkHolder> ChunkTicketManager.chunkHoldersWithPendingUpdates
private final Set
<ChunkHolder> ServerChunkManager.chunksToBroadcastUpdate
private final Long2ObjectLinkedOpenHashMap
<ChunkHolder> ServerChunkLoadingManager.chunksToUnload
private final Long2ObjectLinkedOpenHashMap
<ChunkHolder> ServerChunkLoadingManager.currentChunkHolders
Modifier and TypeMethodDescriptionprotected abstract @Nullable ChunkHolder
ChunkTicketManager.getChunkHolder
(long pos) protected @Nullable ChunkHolder
ServerChunkLoadingManager.getChunkHolder
(long pos) protected @Nullable ChunkHolder
ServerChunkLoadingManager.TicketManager.getChunkHolder
(long pos) private @Nullable ChunkHolder
ServerChunkManager.getChunkHolder
(long pos) protected @Nullable ChunkHolder
ServerChunkLoadingManager.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
ServerChunkLoadingManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Sets the loading level ofChunkHolder
s.protected @Nullable ChunkHolder
ServerChunkLoadingManager.TicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Modifier and TypeMethodDescriptionprotected Iterable
<ChunkHolder> ServerChunkLoadingManager.entryIterator()
Modifier and TypeMethodDescriptionprivate CompletableFuture
<OptionalChunk<List<Chunk>>> ServerChunkLoadingManager.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) private boolean
ServerChunkManager.isMissingForLevel
(@Nullable ChunkHolder holder, int maxLevel) ServerChunkLoadingManager.makeChunkAccessible
(ChunkHolder holder) ServerChunkLoadingManager.makeChunkEntitiesTickable
(ChunkHolder holder) ServerChunkLoadingManager.makeChunkTickable
(ChunkHolder holder) void
ServerChunkManager.markForUpdate
(ChunkHolder chunkHolder) private boolean
ServerChunkLoadingManager.save
(ChunkHolder chunkHolder, long currentTime) private void
ServerChunkLoadingManager.sendToPlayers
(ChunkHolder chunkHolder, WorldChunk chunk) protected abstract @Nullable ChunkHolder
ChunkTicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) (package private) @Nullable ChunkHolder
ServerChunkLoadingManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) Sets the loading level ofChunkHolder
s.protected @Nullable ChunkHolder
ServerChunkLoadingManager.TicketManager.setLevel
(long pos, int level, @Nullable ChunkHolder holder, int int2) private void
ServerChunkLoadingManager.tryUnloadChunk
(long pos, ChunkHolder chunk) Modifier and TypeMethodDescription(package private) void
ServerChunkLoadingManager.forEachTickedChunk
(Consumer<ChunkHolder> callback) ModifierConstructorDescriptionprivate
ChunkWithHolder
(WorldChunk worldChunk, ChunkHolder chunkHolder)