Uses of Interface
net.minecraft.server.level.ChunkResult
-
Uses of ChunkResult in net.minecraft.server.level
Modifier and TypeClassDescriptionstatic final record
static final record
Modifier and TypeFieldDescriptionstatic final ChunkResult
<ChunkAccess> ChunkHolder.NOT_DONE_YET
static final ChunkResult
<ChunkAccess> ChunkHolder.UNLOADED_CHUNK
static final ChunkResult
<LevelChunk> ChunkHolder.UNLOADED_LEVEL_CHUNK
Modifier and TypeFieldDescriptionprivate CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.entityTickingChunkFuture
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.fullChunkFuture
private final AtomicReferenceArray
<CompletableFuture<ChunkResult<ChunkAccess>>> ChunkHolder.futures
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFuture
static final CompletableFuture
<ChunkResult<ChunkAccess>> ChunkHolder.UNLOADED_CHUNK_FUTURE
private static final CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.UNLOADED_LEVEL_CHUNK_FUTURE
Modifier and TypeMethodDescriptionstatic <T> ChunkResult
<T> static <T> ChunkResult
<T> <R> ChunkResult
<R> <R> ChunkResult
<R> <R> ChunkResult
<R> static <T> ChunkResult
<T> ChunkResult.of
(T p_330787_) Modifier and TypeMethodDescriptionList
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<ChunkResult<ChunkAccess>>>> ChunkHolder.getAllFutures()
ServerChunkCache.getChunkFuture
(int p_8432_, int p_8433_, ChunkStatus p_330326_, boolean p_8435_) private CompletableFuture
<ChunkResult<ChunkAccess>> ServerChunkCache.getChunkFutureMainThread
(int p_8457_, int p_8458_, ChunkStatus p_331599_, boolean p_8460_) private CompletableFuture
<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture
(ChunkHolder p_281446_, int p_282030_, IntFunction<ChunkStatus> p_282923_) ChunkHolder.getEntityTickingChunkFuture()
ChunkHolder.getFullChunkFuture()
ChunkHolder.getFutureIfPresent
(ChunkStatus p_330836_) ChunkHolder.getFutureIfPresentUnchecked
(ChunkStatus p_331374_) ChunkHolder.getOrScheduleFuture
(ChunkStatus p_331276_, ChunkMap p_140051_) ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder p_143110_) ChunkMap.prepareEntityTickingChunk
(ChunkHolder p_281455_) ChunkMap.prepareTickingChunk
(ChunkHolder p_143054_) ChunkMap.schedule
(ChunkHolder p_140293_, ChunkStatus p_331633_) private CompletableFuture
<ChunkResult<ChunkAccess>> ChunkMap.scheduleChunkGeneration
(ChunkHolder p_140361_, ChunkStatus p_330841_) Modifier and TypeMethodDescriptionstatic <R> R
ChunkResult.orElse
(ChunkResult<? extends R> p_331283_, R p_331474_) Modifier and TypeMethodDescriptionprivate static String
ChunkMap.printFuture
(CompletableFuture<ChunkResult<LevelChunk>> p_140279_) private void
ChunkHolder.scheduleFullChunkPromotion
(ChunkMap p_142999_, CompletableFuture<ChunkResult<LevelChunk>> p_143000_, Executor p_143001_, FullChunkStatus p_287621_) private void
ChunkHolder.updateChunkToSave
(CompletableFuture<? extends ChunkResult<? extends ChunkAccess>> p_143018_, String p_143019_) -
Uses of ChunkResult in net.neoforged.neoforge.server.command.generation
Modifier and TypeMethodDescriptionprivate void
GenerationTask.acceptChunkResult
(long chunk, ChunkResult<ChunkAccess> result)