Uses of Interface
net.minecraft.server.world.OptionalChunk
-
Uses of OptionalChunk in net.minecraft.server.world
Modifier and TypeClassDescriptionstatic final record
static final record
Modifier and TypeFieldDescriptionprivate static final OptionalChunk
<List<Chunk>> ServerChunkLoadingManager.UNLOADED_CHUNKS
static final OptionalChunk
<WorldChunk> ChunkHolder.UNLOADED_WORLD_CHUNK
Modifier and TypeFieldDescriptionprivate CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.accessibleFuture
private CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.entityTickingFuture
private CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.tickingFuture
private static final CompletableFuture
<OptionalChunk<List<Chunk>>> ServerChunkLoadingManager.UNLOADED_CHUNKS_FUTURE
private static final CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.UNLOADED_WORLD_CHUNK_FUTURE
Modifier and TypeMethodDescription<R> OptionalChunk
<R> <R> OptionalChunk
<R> <R> OptionalChunk
<R> static <T> OptionalChunk
<T> static <T> OptionalChunk
<T> static <T> OptionalChunk
<T> OptionalChunk.of
(T chunk) Modifier and TypeMethodDescriptionChunkHolder.getAccessibleFuture()
private CompletableFuture
<OptionalChunk<Chunk>> ServerChunkManager.getChunkFuture
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) ServerChunkManager.getChunkFutureSyncOnMainThread
(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create) ChunkHolder.getEntityTickingFuture()
private CompletableFuture
<OptionalChunk<List<Chunk>>> ServerChunkLoadingManager.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) ChunkHolder.getTickingFuture()
ServerChunkLoadingManager.makeChunkAccessible
(ChunkHolder holder) ServerChunkLoadingManager.makeChunkEntitiesTickable
(ChunkHolder holder) ServerChunkLoadingManager.makeChunkTickable
(ChunkHolder holder) Modifier and TypeMethodDescriptionstatic <R> R
OptionalChunk.orElse
(OptionalChunk<? extends R> optionalChunk, R other) Modifier and TypeMethodDescriptionprivate static String
ServerChunkLoadingManager.getFutureStatus
(CompletableFuture<OptionalChunk<WorldChunk>> future) private void
ChunkHolder.increaseLevel
(ServerChunkLoadingManager chunkLoadingManager, CompletableFuture<OptionalChunk<WorldChunk>> chunkFuture, Executor executor, ChunkLevelType target) -
Uses of OptionalChunk in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprivate static final OptionalChunk
<Chunk> AbstractChunkHolder.NOT_DONE
static final OptionalChunk
<Chunk> AbstractChunkHolder.UNLOADED
Modifier and TypeFieldDescriptionprivate final AtomicReferenceArray
<CompletableFuture<OptionalChunk<Chunk>>> AbstractChunkHolder.chunkFuturesByStatus
private final List
<CompletableFuture<OptionalChunk<Chunk>>> ChunkLoader.futures
static final CompletableFuture
<OptionalChunk<Chunk>> AbstractChunkHolder.UNLOADED_FUTURE
Modifier and TypeMethodDescriptionList
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<OptionalChunk<Chunk>>>> AbstractChunkHolder.enumerateFutures()
(package private) CompletableFuture
<OptionalChunk<Chunk>> AbstractChunkHolder.generate
(ChunkGenerationStep step, ChunkLoadingManager chunkLoadingManager, BoundedRegionArray<AbstractChunkHolder> chunks) private CompletableFuture
<OptionalChunk<Chunk>> AbstractChunkHolder.getOrCreateFuture
(ChunkStatus status) AbstractChunkHolder.load
(ChunkStatus requestedStatus, ServerChunkLoadingManager chunkLoadingManager) Modifier and TypeMethodDescriptionprivate void
AbstractChunkHolder.unload
(int statusIndex, CompletableFuture<OptionalChunk<Chunk>> previousFuture)