Uses of Class
net.minecraft.server.level.ChunkHolder
Packages that use ChunkHolder
Package
Description
-
Uses of ChunkHolder in net.minecraft.server.level
Fields in net.minecraft.server.level with type parameters of type ChunkHolderModifier and TypeFieldDescriptionprivate final Set<ChunkHolder> ServerChunkCache.chunkHoldersToBroadcastprotected final Set<ChunkHolder> DistanceManager.chunksToUpdateFuturesprivate final List<ChunkHolder> ChunkLoadCounter.pendingChunksprivate final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<ChunkHolder> ChunkMap.pendingUnloadsprivate final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<ChunkHolder> ChunkMap.updatingChunkMapChunks in memory.private it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<ChunkHolder> ChunkMap.visibleChunkMapSame asChunkMap.updatingChunkMap, but immutable for access from other threads.Methods in net.minecraft.server.level that return ChunkHolderModifier and TypeMethodDescriptionprotected @Nullable ChunkHolderChunkMap.DistanceManager.getChunk(long node) protected abstract @Nullable ChunkHolderDistanceManager.getChunk(long node) @Nullable ChunkHolderChunkMap.getUpdatingChunkIfPresent(long key) @Nullable ChunkHolderChunkMap.getVisibleChunkIfPresent(long key) private @Nullable ChunkHolderServerChunkCache.getVisibleChunkIfPresent(long key) protected @Nullable ChunkHolderChunkMap.DistanceManager.updateChunkScheduling(long node, int level, @Nullable ChunkHolder chunk, int oldLevel) private @Nullable ChunkHolderChunkMap.updateChunkScheduling(long node, int level, @Nullable ChunkHolder chunk, int oldLevel) Sets level and loads/unloads chunk.protected abstract @Nullable ChunkHolderDistanceManager.updateChunkScheduling(long node, int level, @Nullable ChunkHolder chunk, int oldLevel) Methods in net.minecraft.server.level that return types with arguments of type ChunkHolderModifier and TypeMethodDescription(package private) Stream<ChunkHolder> ChunkMap.allChunksWithAtLeastStatus(ChunkStatus status) Methods in net.minecraft.server.level with parameters of type ChunkHolderModifier and TypeMethodDescriptionprivate booleanServerChunkCache.chunkAbsent(@Nullable ChunkHolder chunkHolder, int targetTicketLevel) (package private) CompletableFuture<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture(ChunkHolder centerChunk, int range, IntFunction<ChunkStatus> distanceToStatus) private voidChunkMap.onChunkReadyToSend(ChunkHolder chunkHolder, LevelChunk chunk) voidServerChunkCache.onChunkReadyToSend(ChunkHolder chunk) ChunkMap.prepareAccessibleChunk(ChunkHolder chunk) ChunkMap.prepareEntityTickingChunk(ChunkHolder chunk) ChunkMap.prepareTickingChunk(ChunkHolder chunk) private booleanChunkMap.saveChunkIfNeeded(ChunkHolder chunk, long now) private voidChunkMap.scheduleUnload(long pos, ChunkHolder chunkHolder) protected @Nullable ChunkHolderChunkMap.DistanceManager.updateChunkScheduling(long node, int level, @Nullable ChunkHolder chunk, int oldLevel) private @Nullable ChunkHolderChunkMap.updateChunkScheduling(long node, int level, @Nullable ChunkHolder chunk, int oldLevel) Sets level and loads/unloads chunk.protected abstract @Nullable ChunkHolderDistanceManager.updateChunkScheduling(long node, int level, @Nullable ChunkHolder chunk, int oldLevel) -
Uses of ChunkHolder in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type ChunkHolderModifier and TypeMethodDescriptionstatic voidEventHooks.fireChunkTicketLevelUpdated(ServerLevel level, long chunkPos, int oldTicketLevel, int newTicketLevel, @Nullable ChunkHolder chunkHolder) -
Uses of ChunkHolder in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as ChunkHolderModifier and TypeFieldDescriptionprivate final @Nullable ChunkHolderChunkTicketLevelUpdatedEvent.chunkHolderMethods in net.neoforged.neoforge.event.level that return ChunkHolderModifier and TypeMethodDescription@Nullable ChunkHolderChunkTicketLevelUpdatedEvent.getChunkHolder()Returns chunk that had its ticket level updated.Constructors in net.neoforged.neoforge.event.level with parameters of type ChunkHolderModifierConstructorDescriptionChunkTicketLevelUpdatedEvent(ServerLevel level, long chunkPos, int oldTicketLevel, int newTicketLevel, @Nullable ChunkHolder chunkHolder)