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 TypeFieldDescriptionstatic final OptionalChunk
<Chunk> ChunkHolder.CHUNK_LOADING_NOT_FINISHED
static final OptionalChunk
<Chunk> ChunkHolder.UNLOADED_CHUNK
static final OptionalChunk
<WorldChunk> ChunkHolder.UNLOADED_WORLD_CHUNK
Modifier and TypeFieldDescriptionprivate CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.accessibleFuture
private CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.entityTickingFuture
private final AtomicReferenceArray
<CompletableFuture<OptionalChunk<Chunk>>> ChunkHolder.futuresByStatus
private CompletableFuture
<OptionalChunk<WorldChunk>> ChunkHolder.tickingFuture
static final CompletableFuture
<OptionalChunk<Chunk>> ChunkHolder.UNLOADED_CHUNK_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 TypeMethodDescriptionList
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<OptionalChunk<Chunk>>>> ChunkHolder.collectFuturesByStatus()
ChunkHolder.getAccessibleFuture()
ThreadedAnvilChunkStorage.getChunk
(ChunkHolder holder, ChunkStatus requiredStatus) ChunkHolder.getChunkAt
(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage) 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()
ChunkHolder.getFutureFor
(ChunkStatus leastStatus) private CompletableFuture
<OptionalChunk<List<Chunk>>> ThreadedAnvilChunkStorage.getRegion
(ChunkHolder centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) ChunkHolder.getTickingFuture()
ChunkHolder.getValidFutureFor
(ChunkStatus leastStatus) ThreadedAnvilChunkStorage.makeChunkAccessible
(ChunkHolder holder) ThreadedAnvilChunkStorage.makeChunkEntitiesTickable
(ChunkHolder chunk) ThreadedAnvilChunkStorage.makeChunkTickable
(ChunkHolder holder) private CompletableFuture
<OptionalChunk<Chunk>> ThreadedAnvilChunkStorage.upgradeChunk
(ChunkHolder holder, ChunkStatus requiredStatus) Modifier and TypeMethodDescriptionstatic <R> R
OptionalChunk.orElse
(OptionalChunk<? extends R> optionalChunk, R other) Modifier and TypeMethodDescriptionprivate void
ChunkHolder.combineSavingFuture
(CompletableFuture<? extends OptionalChunk<? extends Chunk>> then, String thenDesc) private static String
ThreadedAnvilChunkStorage.getFutureStatus
(CompletableFuture<OptionalChunk<WorldChunk>> future) private void
ChunkHolder.method_31409
(ThreadedAnvilChunkStorage threadedAnvilChunkStorage, CompletableFuture<OptionalChunk<WorldChunk>> completableFuture, Executor executor, ChunkLevelType chunkLevelType)