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 TypeFieldDescription(package private) final Set<ChunkHolder>
ChunkTicketManager.chunkHolders
private Long2ObjectLinkedOpenHashMap<ChunkHolder>
ThreadedAnvilChunkStorage.chunkHolders
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) 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<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.convertToFullChunk
(ChunkHolder chunkHolder) static ChunkTaskPrioritySystem.Task<Runnable>
ChunkTaskPrioritySystem.createMessage
(ChunkHolder holder, Runnable task) static <T> ChunkTaskPrioritySystem.Task<T>
ChunkTaskPrioritySystem.createTask
(ChunkHolder holder, Function<MessageListener<Unit>, T> taskFunction) CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.getChunk
(ChunkHolder holder, ChunkStatus requiredStatus) private CompletableFuture<com.mojang.datafixers.util.Either<List<Chunk>,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) private boolean
ServerChunkManager.isMissingForLevel
(@Nullable ChunkHolder holder, int maxLevel) CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.makeChunkAccessible
(ChunkHolder holder) CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.makeChunkEntitiesTickable
(ChunkHolder chunk) CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.makeChunkTickable
(ChunkHolder chunkHolder) 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) 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<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.upgradeChunk
(ChunkHolder holder, ChunkStatus requiredStatus) ModifierConstructorDescription(package private)
ChunkWithHolder
(WorldChunk worldChunk, ChunkHolder chunkHolder)