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 pValue) Methods in net.minecraft.server.level that return types with arguments of type ChunkResultModifier and TypeMethodDescription(package private) CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.applyStep
(ChunkStep pStep, GeneratingChunkMap pChunkMap, StaticCache2D<GenerationChunkHolder> pCache) List
<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<ChunkResult<ChunkAccess>>>> GenerationChunkHolder.getAllFutures()
ServerChunkCache.getChunkFuture
(int pX, int pZ, ChunkStatus pChunkStatus, boolean pRequireChunk) private CompletableFuture
<ChunkResult<ChunkAccess>> ServerChunkCache.getChunkFutureMainThread
(int pX, int pZ, ChunkStatus pChunkStatus, boolean pRequireChunk) private CompletableFuture
<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture
(ChunkHolder pChunkHolder, int pRange, IntFunction<ChunkStatus> pStatusGetter) ChunkHolder.getEntityTickingChunkFuture()
ChunkHolder.getFullChunkFuture()
private CompletableFuture
<ChunkResult<ChunkAccess>> GenerationChunkHolder.getOrCreateFuture
(ChunkStatus pTargetStatus) ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder pChunk) ChunkMap.prepareEntityTickingChunk
(ChunkHolder pChunk) ChunkMap.prepareTickingChunk
(ChunkHolder pHolder) GenerationChunkHolder.scheduleChunkGenerationTask
(ChunkStatus pTargetStatus, ChunkMap pChunkMap) Methods in net.minecraft.server.level with parameters of type ChunkResultModifier and TypeMethodDescriptionstatic <R> R
ChunkResult.orElse
(ChunkResult<? extends R> pChunkResult, R pOrElse) Method parameters in net.minecraft.server.level with type arguments of type ChunkResultModifier and TypeMethodDescriptionprivate void
GenerationChunkHolder.failAndClearPendingFuture
(int pStatus, CompletableFuture<ChunkResult<ChunkAccess>> pFuture) private static String
ChunkMap.printFuture
(CompletableFuture<ChunkResult<LevelChunk>> pFuture) private void
ChunkHolder.scheduleFullChunkPromotion
(ChunkMap pChunkMap, CompletableFuture<ChunkResult<LevelChunk>> pFuture, Executor pExecutor, FullChunkStatus pFullChunkStatus) -
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)