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 declared as ChunkHolderModifier and TypeFieldDescriptionprivate final ChunkHolderServerChunkCache.ChunkAndHolder.holderThe field for theholderrecord component.Fields in net.minecraft.server.level with type parameters of type ChunkHolderModifier and TypeFieldDescription(package private) 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 chunkPos) protected abstract ChunkHolderDistanceManager.getChunk(long chunkPos) protected ChunkHolderChunkMap.getUpdatingChunkIfPresent(long chunkPos) ChunkMap.getVisibleChunkIfPresent(long chunkPos) private ChunkHolderServerChunkCache.getVisibleChunkIfPresent(long chunkPos) ServerChunkCache.ChunkAndHolder.holder()Returns the value of theholderrecord component.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 ChunkHolderMethods in net.minecraft.server.level with parameters of type ChunkHolderModifier and TypeMethodDescriptionprivate booleanServerChunkCache.chunkAbsent(ChunkHolder chunkHolder, int status) private CompletableFuture<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture(ChunkHolder chunkHolder, int range, IntFunction<ChunkStatus> statusGetter) ChunkMap.prepareAccessibleChunk(ChunkHolder holder) ChunkMap.prepareEntityTickingChunk(ChunkHolder chunk) ChunkMap.prepareTickingChunk(ChunkHolder holder) private booleanChunkMap.saveChunkIfNeeded(ChunkHolder holder) 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) Constructors in net.minecraft.server.level with parameters of type ChunkHolderModifierConstructorDescription(package private)ChunkAndHolder(LevelChunk chunk, ChunkHolder holder) Creates an instance of aChunkAndHolderrecord class. -
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)