Class ChunkLoader

java.lang.Object
net.minecraft.world.chunk.ChunkLoader

public class ChunkLoader extends Object
Mappings:
Namespace Name
named net/minecraft/world/chunk/ChunkLoader
intermediary net/minecraft/class_9759
official arj
  • Field Details

    • chunkLoadingManager

      private final ChunkLoadingManager chunkLoadingManager
      Mappings:
      Namespace Name Mixin selector
      named chunkLoadingManager Lnet/minecraft/world/chunk/ChunkLoader;chunkLoadingManager:Lnet/minecraft/world/ChunkLoadingManager;
      intermediary field_51851 Lnet/minecraft/class_9759;field_51851:Lnet/minecraft/class_9760;
      official b Larj;b:Larx;
    • pos

      private final ChunkPos pos
      Mappings:
      Namespace Name Mixin selector
      named pos Lnet/minecraft/world/chunk/ChunkLoader;pos:Lnet/minecraft/util/math/ChunkPos;
      intermediary field_51852 Lnet/minecraft/class_9759;field_51852:Lnet/minecraft/class_1923;
      official c Larj;c:Ldgn;
    • currentlyLoadingStatus

      @Nullable private @Nullable ChunkStatus currentlyLoadingStatus
      Mappings:
      Namespace Name Mixin selector
      named currentlyLoadingStatus Lnet/minecraft/world/chunk/ChunkLoader;currentlyLoadingStatus:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_51853 Lnet/minecraft/class_9759;field_51853:Lnet/minecraft/class_2806;
      official d Larj;d:Leaq;
    • targetStatus

      public final ChunkStatus targetStatus
      Mappings:
      Namespace Name Mixin selector
      named targetStatus Lnet/minecraft/world/chunk/ChunkLoader;targetStatus:Lnet/minecraft/world/chunk/ChunkStatus;
      intermediary field_51850 Lnet/minecraft/class_9759;field_51850:Lnet/minecraft/class_2806;
      official a Larj;a:Leaq;
    • pendingDisposal

      private volatile boolean pendingDisposal
      Mappings:
      Namespace Name Mixin selector
      named pendingDisposal Lnet/minecraft/world/chunk/ChunkLoader;pendingDisposal:Z
      intermediary field_51854 Lnet/minecraft/class_9759;field_51854:Z
      official e Larj;e:Z
    • futures

      private final List<CompletableFuture<OptionalChunk<Chunk>>> futures
      Mappings:
      Namespace Name Mixin selector
      named futures Lnet/minecraft/world/chunk/ChunkLoader;futures:Ljava/util/List;
      intermediary field_51855 Lnet/minecraft/class_9759;field_51855:Ljava/util/List;
      official f Larj;f:Ljava/util/List;
    • chunks

      private final BoundedRegionArray<AbstractChunkHolder> chunks
      Mappings:
      Namespace Name Mixin selector
      named chunks Lnet/minecraft/world/chunk/ChunkLoader;chunks:Lnet/minecraft/util/collection/BoundedRegionArray;
      intermediary field_51856 Lnet/minecraft/class_9759;field_51856:Lnet/minecraft/class_9762;
      official g Larj;g:Lbay;
    • allowGeneration

      private boolean allowGeneration
      Mappings:
      Namespace Name Mixin selector
      named allowGeneration Lnet/minecraft/world/chunk/ChunkLoader;allowGeneration:Z
      intermediary field_51857 Lnet/minecraft/class_9759;field_51857:Z
      official h Larj;h:Z
  • Constructor Details

    • ChunkLoader

      private ChunkLoader(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos, BoundedRegionArray<AbstractChunkHolder> chunks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/chunk/ChunkLoader;<init>(Lnet/minecraft/world/ChunkLoadingManager;Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/collection/BoundedRegionArray;)V
      intermediary <init> Lnet/minecraft/class_9759;<init>(Lnet/minecraft/class_9760;Lnet/minecraft/class_2806;Lnet/minecraft/class_1923;Lnet/minecraft/class_9762;)V
      official <init> Larj;<init>(Larx;Leaq;Ldgn;Lbay;)V
  • Method Details

    • create

      public static ChunkLoader create(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/world/chunk/ChunkLoader;create(Lnet/minecraft/world/ChunkLoadingManager;Lnet/minecraft/world/chunk/ChunkStatus;Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/world/chunk/ChunkLoader;
      intermediary method_60426 Lnet/minecraft/class_9759;method_60426(Lnet/minecraft/class_9760;Lnet/minecraft/class_2806;Lnet/minecraft/class_1923;)Lnet/minecraft/class_9759;
      official a Larj;a(Larx;Leaq;Ldgn;)Larj;
    • run

      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/world/chunk/ChunkLoader;run()Ljava/util/concurrent/CompletableFuture;
      intermediary method_60424 Lnet/minecraft/class_9759;method_60424()Ljava/util/concurrent/CompletableFuture;
      official a Larj;a()Ljava/util/concurrent/CompletableFuture;
    • loadNextStatus

      private void loadNextStatus()
      Mappings:
      Namespace Name Mixin selector
      named loadNextStatus Lnet/minecraft/world/chunk/ChunkLoader;loadNextStatus()V
      intermediary method_60432 Lnet/minecraft/class_9759;method_60432()V
      official d Larj;d()V
    • markPendingDisposal

      public void markPendingDisposal()
      Mappings:
      Namespace Name Mixin selector
      named markPendingDisposal Lnet/minecraft/world/chunk/ChunkLoader;markPendingDisposal()V
      intermediary method_60429 Lnet/minecraft/class_9759;method_60429()V
      official b Larj;b()V
    • dispose

      private void dispose()
      Mappings:
      Namespace Name Mixin selector
      named dispose Lnet/minecraft/world/chunk/ChunkLoader;dispose()V
      intermediary method_60433 Lnet/minecraft/class_9759;method_60433()V
      official e Larj;e()V
    • isGenerationUnnecessary

      private boolean isGenerationUnnecessary()
      Mappings:
      Namespace Name Mixin selector
      named isGenerationUnnecessary Lnet/minecraft/world/chunk/ChunkLoader;isGenerationUnnecessary()Z
      intermediary method_60434 Lnet/minecraft/class_9759;method_60434()Z
      official f Larj;f()Z
    • getHolder

      public AbstractChunkHolder getHolder()
      Mappings:
      Namespace Name Mixin selector
      named getHolder Lnet/minecraft/world/chunk/ChunkLoader;getHolder()Lnet/minecraft/world/chunk/AbstractChunkHolder;
      intermediary method_60431 Lnet/minecraft/class_9759;method_60431()Lnet/minecraft/class_9761;
      official c Larj;c()Lary;
    • loadAll

      private void loadAll(ChunkStatus targetStatus, boolean allowGeneration)
      Mappings:
      Namespace Name Mixin selector
      named loadAll Lnet/minecraft/world/chunk/ChunkLoader;loadAll(Lnet/minecraft/world/chunk/ChunkStatus;Z)V
      intermediary method_60427 Lnet/minecraft/class_9759;method_60427(Lnet/minecraft/class_2806;Z)V
      official a Larj;a(Leaq;Z)V
    • getAdditionalLevel

      private int getAdditionalLevel(ChunkStatus status, boolean generate)
      Mappings:
      Namespace Name Mixin selector
      named getAdditionalLevel Lnet/minecraft/world/chunk/ChunkLoader;getAdditionalLevel(Lnet/minecraft/world/chunk/ChunkStatus;Z)I
      intermediary method_60430 Lnet/minecraft/class_9759;method_60430(Lnet/minecraft/class_2806;Z)I
      official b Larj;b(Leaq;Z)I
    • load

      private boolean load(ChunkStatus targetStatus, boolean allowGeneration, AbstractChunkHolder chunkHolder)
      Mappings:
      Namespace Name Mixin selector
      named load Lnet/minecraft/world/chunk/ChunkLoader;load(Lnet/minecraft/world/chunk/ChunkStatus;ZLnet/minecraft/world/chunk/AbstractChunkHolder;)Z
      intermediary method_60428 Lnet/minecraft/class_9759;method_60428(Lnet/minecraft/class_2806;ZLnet/minecraft/class_9761;)Z
      official a Larj;a(Leaq;ZLary;)Z
    • getLatestPendingFuture

      @Nullable private @Nullable CompletableFuture<?> getLatestPendingFuture()
      Mappings:
      Namespace Name Mixin selector
      named getLatestPendingFuture Lnet/minecraft/world/chunk/ChunkLoader;getLatestPendingFuture()Ljava/util/concurrent/CompletableFuture;
      intermediary method_60435 Lnet/minecraft/class_9759;method_60435()Ljava/util/concurrent/CompletableFuture;
      official g Larj;g()Ljava/util/concurrent/CompletableFuture;