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 as, but immutable for access from other threads.invalid reference
#loadedChunksMethods in net.minecraft.server.level that return ChunkHolderModifier and TypeMethodDescriptionprotected ChunkHolderChunkMap.DistanceManager.getChunk(long chunkPos) protected abstract ChunkHolderDistanceManager.getChunk(long chunkPos) ChunkMap.getUpdatingChunkIfPresent(long chunkPos) ChunkMap.getVisibleChunkIfPresent(long chunkPos) private ChunkHolderServerChunkCache.getVisibleChunkIfPresent(long chunkPos) protected ChunkHolderChunkMap.DistanceManager.updateChunkScheduling(long chunkPos, int newLevel, ChunkHolder holder, int oldLevel) (package private) ChunkHolderChunkMap.updateChunkScheduling(long chunkPos, int newLevel, ChunkHolder holder, int oldLevel) Sets level and loads/unloads chunk.protected abstract ChunkHolderDistanceManager.updateChunkScheduling(long chunkPos, int newLevel, ChunkHolder holder, 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(ChunkHolder chunkHolder, int status) (package private) CompletableFuture<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture(ChunkHolder chunkHolder, int range, IntFunction<ChunkStatus> statusGetter) private voidChunkMap.onChunkReadyToSend(ChunkHolder chunkHolder, LevelChunk chunk) voidServerChunkCache.onChunkReadyToSend(ChunkHolder chunkHolder) ChunkMap.prepareAccessibleChunk(ChunkHolder chunk) ChunkMap.prepareEntityTickingChunk(ChunkHolder chunk) ChunkMap.prepareTickingChunk(ChunkHolder holder) private booleanChunkMap.saveChunkIfNeeded(ChunkHolder chunk, long gametime) private voidChunkMap.scheduleUnload(long chunkPos, ChunkHolder chunkHolder) protected ChunkHolderChunkMap.DistanceManager.updateChunkScheduling(long chunkPos, int newLevel, ChunkHolder holder, int oldLevel) (package private) ChunkHolderChunkMap.updateChunkScheduling(long chunkPos, int newLevel, ChunkHolder holder, int oldLevel) Sets level and loads/unloads chunk.protected abstract ChunkHolderDistanceManager.updateChunkScheduling(long chunkPos, int newLevel, ChunkHolder holder, 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)