net.minecraft.server.level

public class ChunkGenerationTask

aqf
net.minecraft.server.level.ChunkGenerationTask
net.minecraft.class_9759
net.minecraft.world.chunk.ChunkLoader
net.minecraft.server.level.ChunkGenerationTask

Field summary

Modifier and TypeField
private final GeneratingChunkMap
b
chunkMap
field_51851
chunkLoadingManager
private final ChunkPos
c
pos
field_51852
pos
private ChunkStatus
d
scheduledStatus
field_51853
currentlyLoadingStatus
public final ChunkStatus
a
targetStatus
field_51850
targetStatus
private volatile boolean
e
markedForCancellation
field_51854
pendingDisposal
private final List<CompletableFuture<ChunkResult<ChunkAccess>>>
f
scheduledLayer
field_51855
futures
private final StaticCache2D<GenerationChunkHolder>
g
cache
field_51856
chunks
private boolean
h
needsGeneration
field_51857
allowGeneration

Constructor summary

ModifierConstructor
private (GeneratingChunkMap chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos, StaticCache2D<GenerationChunkHolder> chunks)

Method summary

Modifier and TypeMethod
public static ChunkGenerationTask
a(aqt arg0, dzu arg1, dfp arg2)
create(GeneratingChunkMap arg0, ChunkStatus arg1, ChunkPos arg2)
method_60426(class_9760 arg0, class_2806 arg1, class_1923 arg2)
create(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos)
public CompletableFuture<?>
a()
runUntilWait()
method_60424()
run()
private void
d()
scheduleNextLayer()
method_60432()
loadNextStatus()
public void
b()
markForCancellation()
method_60429()
markPendingDisposal()
private void
e()
releaseClaim()
method_60433()
dispose()
private boolean
f()
canLoadWithoutGeneration()
method_60434()
isGenerationUnnecessary()
public GenerationChunkHolder
c()
getCenter()
method_60431()
getHolder()
private void
a(dzu arg0, boolean arg1)
scheduleLayer(ChunkStatus arg0, boolean arg1)
method_60427(class_2806 arg0, boolean arg1)
loadAll(ChunkStatus targetStatus, boolean allowGeneration)
private int
b(dzu arg0, boolean arg1)
getRadiusForLayer(ChunkStatus arg0, boolean arg1)
method_60430(class_2806 arg0, boolean arg1)
getAdditionalLevel(ChunkStatus status, boolean generate)
private boolean
a(dzu arg0, boolean arg1, aqu arg2)
scheduleChunkInLayer(ChunkStatus arg0, boolean arg1, GenerationChunkHolder arg2)
method_60428(class_2806 arg0, boolean arg1, class_9761 arg2)
load(ChunkStatus targetStatus, boolean allowGeneration, AbstractChunkHolder chunkHolder)
private CompletableFuture<?>
g()
waitForScheduledLayer()
method_60435()
getLatestPendingFuture()