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 recordstatic final recordFields in net.minecraft.server.level declared as ChunkResultModifier and TypeFieldDescriptionprivate static final ChunkResult<ChunkAccess> GenerationChunkHolder.NOT_DONE_YETstatic final ChunkResult<ChunkAccess> GenerationChunkHolder.UNLOADED_CHUNKprivate static final ChunkResult<List<ChunkAccess>> ChunkMap.UNLOADED_CHUNK_LIST_RESULTstatic final ChunkResult<LevelChunk> ChunkHolder.UNLOADED_LEVEL_CHUNKFields in net.minecraft.server.level with type parameters of type ChunkResultModifier and TypeFieldDescriptionprivate CompletableFuture<ChunkResult<LevelChunk>> ChunkHolder.entityTickingChunkFutureA future that returns the chunk if it is an entity ticking chunk,otherwise.invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADEDprivate CompletableFuture<ChunkResult<LevelChunk>> ChunkHolder.fullChunkFutureA future that returns the chunk if it is a border chunk,otherwise.invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADEDprivate final AtomicReferenceArray<@Nullable CompletableFuture<ChunkResult<ChunkAccess>>> GenerationChunkHolder.futuresprivate final List<CompletableFuture<ChunkResult<ChunkAccess>>> ChunkGenerationTask.scheduledLayerprivate CompletableFuture<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFutureA future that returns the chunk if it is a ticking chunk,otherwise.invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADEDstatic final CompletableFuture<ChunkResult<ChunkAccess>> GenerationChunkHolder.UNLOADED_CHUNK_FUTUREprivate static final CompletableFuture<ChunkResult<List<ChunkAccess>>> ChunkMap.UNLOADED_CHUNK_LIST_FUTUREprivate static final CompletableFuture<ChunkResult<LevelChunk>> ChunkHolder.UNLOADED_LEVEL_CHUNK_FUTUREMethods 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, @Nullable CompletableFuture<ChunkResult<ChunkAccess>>>> GenerationChunkHolder.getAllFutures()ServerChunkCache.getChunkFuture(int x, int z, ChunkStatus targetStatus, boolean loadOrGenerate) private CompletableFuture<ChunkResult<ChunkAccess>> ServerChunkCache.getChunkFutureMainThread(int x, int z, ChunkStatus targetStatus, boolean loadOrGenerate) (package private) CompletableFuture<ChunkResult<List<ChunkAccess>>> ChunkMap.getChunkRangeFuture(ChunkHolder centerChunk, int range, IntFunction<ChunkStatus> distanceToStatus) ChunkHolder.getEntityTickingChunkFuture()ChunkHolder.getFullChunkFuture()private CompletableFuture<ChunkResult<ChunkAccess>> GenerationChunkHolder.getOrCreateFuture(ChunkStatus status) ChunkHolder.getTickingChunkFuture()ChunkMap.prepareAccessibleChunk(ChunkHolder chunk) ChunkMap.prepareEntityTickingChunk(ChunkHolder chunk) ChunkMap.prepareTickingChunk(ChunkHolder chunk) GenerationChunkHolder.scheduleChunkGenerationTask(ChunkStatus status, ChunkMap scheduler) Methods in net.minecraft.server.level with parameters of type ChunkResultModifier and TypeMethodDescriptionstatic <R> @Nullable RChunkResult.orElse(ChunkResult<? extends R> chunkResult, @Nullable R orElse) Method parameters in net.minecraft.server.level with type arguments of type ChunkResultModifier and TypeMethodDescriptionprivate voidGenerationChunkHolder.failAndClearPendingFuture(int index, CompletableFuture<ChunkResult<ChunkAccess>> previous) private static StringChunkMap.printFuture(CompletableFuture<ChunkResult<LevelChunk>> future) private voidChunkHolder.scheduleFullChunkPromotion(ChunkMap scheduler, CompletableFuture<ChunkResult<LevelChunk>> task, Executor mainThreadExecutor, FullChunkStatus status) -
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 voidGenerationTask.acceptChunkResult(long chunk, ChunkResult<ChunkAccess> result)