net.minecraft.server.level

public abstract class GenerationChunkHolder

aqu
net.minecraft.server.level.GenerationChunkHolder
net.minecraft.class_9761
net.minecraft.world.chunk.AbstractChunkHolder
net.minecraft.server.level.GenerationChunkHolder

Field summary

Modifier and TypeField
private static final List<ChunkStatus>
a
CHUNK_STATUSES
field_51865
STATUSES
private static final ChunkResult<ChunkAccess>
e
NOT_DONE_YET
field_51869
NOT_DONE
public static final ChunkResult<ChunkAccess>
b
UNLOADED_CHUNK
field_51866
UNLOADED
public static final CompletableFuture<ChunkResult<ChunkAccess>>
c
UNLOADED_CHUNK_FUTURE
field_51867
UNLOADED_FUTURE
protected final ChunkPos
d
pos
field_51868
pos
private volatile ChunkStatus
f
highestAllowedStatus
field_51870
status
private final AtomicReference<ChunkStatus>
g
startedWork
field_51871
currentStatus
private final AtomicReferenceArray<CompletableFuture<ChunkResult<ChunkAccess>>>
h
futures
field_51872
chunkFuturesByStatus
private final AtomicReference<ChunkGenerationTask>
i
task
field_51873
chunkLoader
private final AtomicInteger
j
generationRefCount
field_51874
refCount
private volatile CompletableFuture<Void>
k
generationSaveSyncFuture
field_54045
referenceFuture

Constructor summary

ModifierConstructor
public (ChunkPos pos)

Method summary

Modifier and TypeMethod
public CompletableFuture<ChunkResult<ChunkAccess>>
a(dzu arg0, aqi arg1)
scheduleChunkGenerationTask(ChunkStatus arg0, ChunkMap arg1)
method_60458(class_2806 arg0, class_3898 arg1)
load(ChunkStatus requestedStatus, ServerChunkLoadingManager chunkLoadingManager)
CompletableFuture<ChunkResult<ChunkAccess>>
a(dzx arg0, aqt arg1, azt<aqu> arg2)
applyStep(ChunkStep arg0, GeneratingChunkMap arg1, StaticCache2D<GenerationChunkHolder> arg2)
method_60461(class_9770 arg0, class_9760 arg1, class_9762<class_9761> arg2)
generate(ChunkGenerationStep step, ChunkLoadingManager chunkLoadingManager, BoundedRegionArray<AbstractChunkHolder> chunks)
protected void
a(aqi arg0)
updateHighestAllowedStatus(ChunkMap arg0)
method_60454(class_3898 arg0)
updateStatus(ServerChunkLoadingManager chunkLoadingManager)
public void
a(dzc arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_60456(class_2821 arg0)
replaceWith(WrapperProtoChunk chunk)
void
a(aqf arg0)
removeTask(ChunkGenerationTask arg0)
method_60453(class_9759 arg0)
clearLoader(ChunkLoader loader)
private void
a(aqi arg0, dzu arg1)
rescheduleChunkTask(ChunkMap arg0, ChunkStatus arg1)
method_60455(class_3898 arg0, class_2806 arg1)
createLoader(ServerChunkLoadingManager chunkLoadingManager, ChunkStatus requestedStatus)
private CompletableFuture<ChunkResult<ChunkAccess>>
c(dzu arg0)
getOrCreateFuture(ChunkStatus arg0)
method_60464(class_2806 arg0)
getOrCreateFuture(ChunkStatus status)
private void
a(dzu arg0, dzu arg1)
failAndClearPendingFuturesBetween(ChunkStatus arg0, ChunkStatus arg1)
method_60460(class_2806 arg0, class_2806 arg1)
unload(ChunkStatus from, ChunkStatus to)
private void
a(int arg0, CompletableFuture<aqj<dyt>> arg1)
failAndClearPendingFuture(int arg0, CompletableFuture<ChunkResult<ChunkAccess>> arg1)
method_60452(int arg0, CompletableFuture<class_9259<class_2791>> arg1)
unload(int statusIndex, CompletableFuture<OptionalChunk<Chunk>> previousFuture)
private void
a(dzu arg0, dyt arg1)
completeFuture(ChunkStatus arg0, ChunkAccess arg1)
method_60459(class_2806 arg0, class_2791 arg1)
completeChunkFuture(ChunkStatus status, Chunk chunk)
private ChunkStatus
d(dzu arg0)
findHighestStatusWithPendingFuture(ChunkStatus arg0)
method_60465(class_2806 arg0)
getMaxPendingStatus(ChunkStatus checkUpperBound)
private boolean
e(dzu arg0)
acquireStatusBump(ChunkStatus arg0)
method_60466(class_2806 arg0)
progressStatus(ChunkStatus nextStatus)
private boolean
f(dzu arg0)
isStatusDisallowed(ChunkStatus arg0)
method_60467(class_2806 arg0)
cannotBeLoaded(ChunkStatus status)
protected abstract void
b(CompletableFuture<?> arg0)
addSaveDependency(CompletableFuture<?> arg0)
method_39967(CompletableFuture<?> arg0)
combineSavingFuture(CompletableFuture<?> savingFuture)
public void
n()
increaseGenerationRefCount()
method_60468()
incrementRefCount()
public void
o()
decreaseGenerationRefCount()
method_60469()
decrementRefCount()
public ChunkAccess
a(dzu arg0)
getChunkIfPresentUnchecked(ChunkStatus arg0)
method_60457(class_2806 arg0)
getUncheckedOrNull(ChunkStatus requestedStatus)
public ChunkAccess
b(dzu arg0)
getChunkIfPresent(ChunkStatus arg0)
method_60463(class_2806 arg0)
getOrNull(ChunkStatus requestedStatus)
public ChunkAccess
p()
getLatestChunk()
method_60471()
getLatest()
public ChunkStatus
q()
getPersistedStatus()
method_60472()
getActualStatus()
public ChunkPos
r()
getPos()
method_60473()
getPos()
public FullChunkStatus
s()
getFullStatus()
method_60474()
getLevelType()
public abstract int
j()
getTicketLevel()
method_14005()
getLevel()
public abstract int
k()
getQueueLevel()
method_17208()
getCompletedLevel()
public List<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<ChunkResult<ChunkAccess>>>>
t()
getAllFutures()
method_60475()
enumerateFutures()
public ChunkStatus
u()
getLatestStatus()
method_60476()
getLatestStatus()