net.minecraft.server.level

public class ChunkGenerationTask

apy
net.minecraft.server.level.ChunkGenerationTask
net.minecraft.class_9759
net.minecraft.world.chunk.ChunkLoader
net.minecraft.src.C_336542_
net.minecraft.server.level.ChunkGenerationTask

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public static ChunkGenerationTask
a(aqm arg0, dvz arg1, dcd 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)
m_339931_(C_336423_ p_344659_, C_313554_ p_344444_, C_1560_ p_342415_)
public CompletableFuture<?>
a()
runUntilWait()
method_60424()
run()
m_340381_()
private void
d()
scheduleNextLayer()
method_60432()
loadNextStatus()
m_339326_()
public void
b()
markForCancellation()
method_60429()
markPendingDisposal()
m_339480_()
private void
e()
releaseClaim()
method_60433()
dispose()
m_340204_()
private boolean
f()
canLoadWithoutGeneration()
method_60434()
isGenerationUnnecessary()
m_339361_()
public GenerationChunkHolder
c()
getCenter()
method_60431()
getHolder()
m_340452_()
private void
a(dvz arg0, boolean arg1)
scheduleLayer(ChunkStatus arg0, boolean arg1)
method_60427(class_2806 arg0, boolean arg1)
loadAll(ChunkStatus targetStatus, boolean allowGeneration)
m_339141_(C_313554_ p_342359_, boolean arg1)
private int
b(dvz arg0, boolean arg1)
getRadiusForLayer(ChunkStatus arg0, boolean arg1)
method_60430(class_2806 arg0, boolean arg1)
getAdditionalLevel(ChunkStatus status, boolean generate)
m_339492_(C_313554_ p_343456_, boolean arg1)
private boolean
a(dvz arg0, boolean arg1, aqn 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)
m_338763_(C_313554_ p_344389_, boolean p_343540_, C_336526_ arg2)
private CompletableFuture<?>
g()
waitForScheduledLayer()
method_60435()
getLatestPendingFuture()
m_339254_()