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 TypeFieldDescriptionprivate static final ChunkResult
<ChunkAccess> GenerationChunkHolder.NOT_DONE_YET
static final ChunkResult
<ChunkAccess> GenerationChunkHolder.UNLOADED_CHUNK
private static final ChunkResult
<List<ChunkAccess>> ChunkMap.UNLOADED_CHUNK_LIST_RESULT
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>>> GenerationChunkHolder.futures
private final List
<CompletableFuture<ChunkResult<ChunkAccess>>> ChunkGenerationTask.scheduledLayer
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFuture
static final CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.UNLOADED_CHUNK_FUTURE
private static final CompletableFuture
<ChunkResult<List<ChunkAccess>>> ChunkMap.UNLOADED_CHUNK_LIST_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 TypeMethodDescription(package private) CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.applyStep
(ChunkStep p_347491_, GeneratingChunkMap p_347490_, StaticCache2D<GenerationChunkHolder> p_347657_) List
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<ChunkResult<ChunkAccess>>>> GenerationChunkHolder.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()
private CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.getOrCreateFuture
(ChunkStatus p_347537_) ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder p_143110_) ChunkMap.prepareEntityTickingChunk
(ChunkHolder p_281455_) ChunkMap.prepareTickingChunk
(ChunkHolder p_143054_) GenerationChunkHolder.scheduleChunkGenerationTask
(ChunkStatus p_347666_, ChunkMap p_347681_) Modifier and TypeMethodDescriptionstatic <R> R
ChunkResult.orElse
(ChunkResult<? extends R> p_331283_, R p_331474_) Modifier and TypeMethodDescriptionprivate void
GenerationChunkHolder.failAndClearPendingFuture
(int p_347608_, CompletableFuture<ChunkResult<ChunkAccess>> p_347723_) private 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_) -
Uses of ChunkResult in net.neoforged.neoforge.server.command.generation
Modifier and TypeMethodDescriptionprivate void
GenerationTask.acceptChunkResult
(long chunk, ChunkResult<ChunkAccess> result)