Uses of Interface
net.minecraft.server.level.ChunkResult
Packages that use ChunkResult
-
Uses of ChunkResult in net.minecraft.server.level
Classes in net.minecraft.server.level that implement ChunkResultModifier and TypeClassDescriptionstatic final record
static final record
Fields in net.minecraft.server.level declared as ChunkResultModifier 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
Fields in net.minecraft.server.level with type parameters of type ChunkResultModifier and TypeFieldDescriptionprivate CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.entityTickingChunkFuture
A future that returns the chunk if it is an entity ticking chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.fullChunkFuture
A future that returns the chunk if it is a border chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
private final AtomicReferenceArray
<CompletableFuture<ChunkResult<ChunkAccess>>> GenerationChunkHolder.futures
private final List
<CompletableFuture<ChunkResult<ChunkAccess>>> ChunkGenerationTask.scheduledLayer
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFuture
A future that returns the chunk if it is a ticking chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
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
Methods in net.minecraft.server.level that return ChunkResultModifier 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 value) Methods in net.minecraft.server.level that return types with arguments of type ChunkResultModifier and TypeMethodDescription(package private) CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.applyStep
(ChunkStep step, GeneratingChunkMap chunkMap, StaticCache2D<GenerationChunkHolder> cache) List
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<ChunkResult<ChunkAccess>>>> GenerationChunkHolder.getAllFutures()
ServerChunkCache.getChunkFuture
(int x, int z, ChunkStatus chunkStatus, boolean requireChunk) private CompletableFuture
<ChunkResult<ChunkAccess>> ServerChunkCache.getChunkFutureMainThread
(int x, int z, ChunkStatus chunkStatus, boolean requireChunk) private CompletableFuture
<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture
(ChunkHolder chunkHolder, int range, IntFunction<ChunkStatus> statusGetter) ChunkHolder.getEntityTickingChunkFuture()
ChunkHolder.getFullChunkFuture()
private CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.getOrCreateFuture
(ChunkStatus targetStatus) ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder holder) ChunkMap.prepareEntityTickingChunk
(ChunkHolder chunk) ChunkMap.prepareTickingChunk
(ChunkHolder holder) GenerationChunkHolder.scheduleChunkGenerationTask
(ChunkStatus targetStatus, ChunkMap chunkMap) Methods in net.minecraft.server.level with parameters of type ChunkResultModifier and TypeMethodDescriptionstatic <R> R
ChunkResult.orElse
(ChunkResult<? extends R> chunkResult, R orElse) Method parameters in net.minecraft.server.level with type arguments of type ChunkResultModifier and TypeMethodDescriptionprivate void
GenerationChunkHolder.failAndClearPendingFuture
(int status, CompletableFuture<ChunkResult<ChunkAccess>> future) private static String
ChunkMap.printFuture
(CompletableFuture<ChunkResult<LevelChunk>> future) private void
ChunkHolder.scheduleFullChunkPromotion
(ChunkMap chunkMap, CompletableFuture<ChunkResult<LevelChunk>> future, Executor executor, FullChunkStatus fullChunkStatus) -
Uses of ChunkResult in net.neoforged.neoforge.server.command.generation
Methods in net.neoforged.neoforge.server.command.generation with parameters of type ChunkResultModifier and TypeMethodDescriptionprivate void
GenerationTask.acceptChunkResult
(long chunk, ChunkResult<ChunkAccess> result)