Uses of Class
net.minecraft.server.level.ChunkHolder
Package
Description
-
Uses of ChunkHolder in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate final ChunkHolder
ServerChunkCache.ChunkAndHolder.holder
The field for theholder
record component.Modifier and TypeFieldDescription(package private) final Set
<ChunkHolder> DistanceManager.chunksToUpdateFutures
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap
<ChunkHolder> ChunkMap.pendingUnloads
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap
<ChunkHolder> ChunkMap.updatingChunkMap
private it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap
<ChunkHolder> ChunkMap.visibleChunkMap
Modifier and TypeMethodDescriptionprotected ChunkHolder
ChunkMap.DistanceManager.getChunk
(long p_140469_) protected abstract ChunkHolder
DistanceManager.getChunk
(long p_140817_) protected ChunkHolder
ChunkMap.getUpdatingChunkIfPresent
(long p_140175_) ChunkMap.getVisibleChunkIfPresent
(long p_140328_) private ChunkHolder
ServerChunkCache.getVisibleChunkIfPresent
(long p_8365_) ServerChunkCache.ChunkAndHolder.holder()
Returns the value of theholder
record component.protected ChunkHolder
ChunkMap.DistanceManager.updateChunkScheduling
(long p_140464_, int p_140465_, ChunkHolder p_140466_, int p_140467_) (package private) ChunkHolder
ChunkMap.updateChunkScheduling
(long p_140177_, int p_140178_, ChunkHolder p_140179_, int p_140180_) protected abstract ChunkHolder
DistanceManager.updateChunkScheduling
(long p_140780_, int p_140781_, ChunkHolder p_140782_, int p_140783_) Modifier and TypeMethodDescriptionprivate boolean
ServerChunkCache.chunkAbsent
(ChunkHolder p_8417_, int p_8418_) private CompletableFuture
<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture
(ChunkHolder p_281446_, int p_282030_, IntFunction<ChunkStatus> p_282923_) ChunkTaskPriorityQueueSorter.message
(ChunkHolder p_140643_, Runnable p_140644_) static <T> ChunkTaskPriorityQueueSorter.Message
<T> ChunkTaskPriorityQueueSorter.message
(ChunkHolder p_143157_, Function<ProcessorHandle<Unit>, T> p_143158_) ChunkMap.prepareAccessibleChunk
(ChunkHolder p_143110_) ChunkMap.prepareEntityTickingChunk
(ChunkHolder p_281455_) ChunkMap.prepareTickingChunk
(ChunkHolder p_143054_) private CompletableFuture
<ChunkAccess> ChunkMap.protoChunkToFullChunk
(ChunkHolder p_140384_, ChunkAccess p_330540_) private boolean
ChunkMap.saveChunkIfNeeded
(ChunkHolder p_198875_) ChunkMap.schedule
(ChunkHolder p_140293_, ChunkStatus p_331633_) private CompletableFuture
<ChunkResult<ChunkAccess>> ChunkMap.scheduleChunkGeneration
(ChunkHolder p_140361_, ChunkStatus p_330841_) private void
ChunkMap.scheduleUnload
(long p_140182_, ChunkHolder p_140183_) protected ChunkHolder
ChunkMap.DistanceManager.updateChunkScheduling
(long p_140464_, int p_140465_, ChunkHolder p_140466_, int p_140467_) (package private) ChunkHolder
ChunkMap.updateChunkScheduling
(long p_140177_, int p_140178_, ChunkHolder p_140179_, int p_140180_) protected abstract ChunkHolder
DistanceManager.updateChunkScheduling
(long p_140780_, int p_140781_, ChunkHolder p_140782_, int p_140783_) ModifierConstructorDescription(package private)
ChunkAndHolder
(LevelChunk chunk, ChunkHolder holder) Creates an instance of aChunkAndHolder
record class. -
Uses of ChunkHolder in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic void
EventHooks.fireChunkTicketLevelUpdated
(ServerLevel level, long chunkPos, int oldTicketLevel, int newTicketLevel, @Nullable ChunkHolder chunkHolder) -
Uses of ChunkHolder in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate final @Nullable ChunkHolder
ChunkTicketLevelUpdatedEvent.chunkHolder
Modifier and TypeMethodDescription@Nullable ChunkHolder
ChunkTicketLevelUpdatedEvent.getChunkHolder()
Returns chunk that had its ticket level updated.ModifierConstructorDescriptionChunkTicketLevelUpdatedEvent
(ServerLevel level, long chunkPos, int oldTicketLevel, int newTicketLevel, @Nullable ChunkHolder chunkHolder)