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 apx
-
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
Lapx;b:Laql;
-
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
Lapx;c:Ldcb;
-
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
Lapx;d:Ldvx;
-
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
Lapx;a:Ldvx;
-
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
Lapx;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
Lapx;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
Lapx;g:Lazh;
-
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
Lapx;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>
Lapx;<init>(Laql;Ldvx;Ldcb;Lazh;)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
Lapx;a(Laql;Ldvx;Ldcb;)Lapx;
-
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
Lapx;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
Lapx;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
Lapx;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
Lapx;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
Lapx;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
Lapx;c()Laqm;
-
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
Lapx;a(Ldvx;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
Lapx;b(Ldvx;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
Lapx;a(Ldvx;ZLaqm;)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
Lapx;g()Ljava/util/concurrent/CompletableFuture;
-