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 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 pChunkPos) protected abstract ChunkHolderDistanceManager.getChunk(long pChunkPos) ChunkMap.getUpdatingChunkIfPresent(long pChunkPos) ChunkMap.getVisibleChunkIfPresent(long pChunkPos) private ChunkHolderServerChunkCache.getVisibleChunkIfPresent(long pChunkPos) protected ChunkHolderChunkMap.DistanceManager.updateChunkScheduling(long pChunkPos, int pNewLevel, ChunkHolder pHolder, int pOldLevel) (package private) ChunkHolderChunkMap.updateChunkScheduling(long pChunkPos, int pNewLevel, ChunkHolder pHolder, int pOldLevel) Sets level and loads/unloads chunk.protected abstract ChunkHolderDistanceManager.updateChunkScheduling(long pChunkPos, int pNewLevel, ChunkHolder pHolder, int pOldLevel) Methods in net.minecraft.server.level that return types with arguments of type ChunkHolderMethods in net.minecraft.server.level with parameters of type ChunkHolderModifier and TypeMethodDescriptionprivate booleanServerChunkCache.chunkAbsent(ChunkHolder pChunkHolder, int pStatus) private CompletableFuture<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture(ChunkHolder pChunkHolder, int pRange, IntFunction<ChunkStatus> pStatusGetter) private voidChunkMap.onChunkReadyToSend(ChunkHolder pChunkHolder, LevelChunk pChunk) voidServerChunkCache.onChunkReadyToSend(ChunkHolder pChunkHolder) ChunkMap.prepareAccessibleChunk(ChunkHolder pChunk) ChunkMap.prepareEntityTickingChunk(ChunkHolder pChunk) ChunkMap.prepareTickingChunk(ChunkHolder pHolder) private booleanChunkMap.saveChunkIfNeeded(ChunkHolder pChunk, long pGametime) private voidChunkMap.scheduleUnload(long pChunkPos, ChunkHolder pChunkHolder) protected ChunkHolderChunkMap.DistanceManager.updateChunkScheduling(long pChunkPos, int pNewLevel, ChunkHolder pHolder, int pOldLevel) (package private) ChunkHolderChunkMap.updateChunkScheduling(long pChunkPos, int pNewLevel, ChunkHolder pHolder, int pOldLevel) Sets level and loads/unloads chunk.protected abstract ChunkHolderDistanceManager.updateChunkScheduling(long pChunkPos, int pNewLevel, ChunkHolder pHolder, int pOldLevel) -
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)