Package net.minecraft.world.chunk
Class ChunkLoader
java.lang.Object
net.minecraft.world.chunk.ChunkLoader
- Mappings:
Namespace Name named net/minecraft/world/chunk/ChunkLoader
intermediary net/minecraft/class_9759
official apy
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private final ChunkLoadingManager
private final BoundedRegionArray
<AbstractChunkHolder> private @Nullable ChunkStatus
private final List
<CompletableFuture<OptionalChunk<Chunk>>> private boolean
private final ChunkPos
final ChunkStatus
-
Constructor Summary
ModifierConstructorDescriptionprivate
ChunkLoader
(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos, BoundedRegionArray<AbstractChunkHolder> chunks) -
Method Summary
Modifier and TypeMethodDescriptionstatic ChunkLoader
create
(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos) private void
dispose()
private int
getAdditionalLevel
(ChunkStatus status, boolean generate) private @Nullable CompletableFuture
<?> private boolean
private boolean
load
(ChunkStatus targetStatus, boolean allowGeneration, AbstractChunkHolder chunkHolder) private void
loadAll
(ChunkStatus targetStatus, boolean allowGeneration) private void
void
run()
-
Field Details
-
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
Lapy;b:Laqm;
-
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
Lapy;c:Ldcd;
-
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
Lapy;d:Ldvz;
-
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
Lapy;a:Ldvz;
-
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
Lapy;e:Z
-
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
Lapy;f:Ljava/util/List;
-
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
Lapy;g:Lazi;
-
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
Lapy;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>
Lapy;<init>(Laqm;Ldvz;Ldcd;Lazi;)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
Lapy;a(Laqm;Ldvz;Ldcd;)Lapy;
-
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
Lapy;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
Lapy;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
Lapy;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
Lapy;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
Lapy;f()Z
-
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
Lapy;c()Laqn;
-
loadAll
- 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
Lapy;a(Ldvz;Z)V
-
getAdditionalLevel
- 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
Lapy;b(Ldvz;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
Lapy;a(Ldvz;ZLaqn;)Z
-
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
Lapy;g()Ljava/util/concurrent/CompletableFuture;
-