Interface ChunkStatus.LoadTask

Enclosing class:
ChunkStatus

static interface ChunkStatus.LoadTask
A task called when a chunk is loaded but does not need to be generated.
Mappings:
Namespace Name
official cjp$c
intermediary net/minecraft/class_2806$class_4305
named net/minecraft/world/chunk/ChunkStatus$LoadTask
  • Method Details

    • doWork

      CompletableFuture<com.mojang.datafixers.util.Either<Chunk,​ChunkHolder.Unloaded>> doWork​(ChunkStatus targetStatus, ServerWorld world, StructureManager structureManager, ServerLightingProvider lightingProvider, Function<Chunk,​CompletableFuture<com.mojang.datafixers.util.Either<Chunk,​ChunkHolder.Unloaded>>> function, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official doWork Lcjp$c;doWork(Lcjp;Laav;Lcyj;Laay;Ljava/util/function/Function;Lcjl;)Ljava/util/concurrent/CompletableFuture;
      intermediary doWork Lnet/minecraft/class_2806$class_4305;doWork(Lnet/minecraft/class_2806;Lnet/minecraft/class_3218;Lnet/minecraft/class_3485;Lnet/minecraft/class_3227;Ljava/util/function/Function;Lnet/minecraft/class_2791;)Ljava/util/concurrent/CompletableFuture;
      named doWork Lnet/minecraft/world/chunk/ChunkStatus$LoadTask;doWork(Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/structure/StructureManager;Lnet/minecraft/server/world/ServerLightingProvider;Ljava/util/function/Function;Lnet/minecraft/world/chunk/Chunk;)Ljava/util/concurrent/CompletableFuture;