net.minecraft.server.level

public abstract class GenerationChunkHolder

aqn
net.minecraft.server.level.GenerationChunkHolder
net.minecraft.class_9761
net.minecraft.unmapped.C_noeozorr
net.minecraft.world.chunk.AbstractChunkHolder
net.minecraft.unmapped.C_noeozorr
net.minecraft.src.C_336526_
net.minecraft.server.level.GenerationChunkHolder

Field summary

Modifier and TypeField
private static final List<ChunkStatus>
a
CHUNK_STATUSES
field_51865
f_bhitjahy
STATUSES
f_336881_
private static final ChunkResult<ChunkAccess>
e
NOT_DONE_YET
field_51869
f_odycjfwl
NOT_DONE
f_337211_
public static final ChunkResult<ChunkAccess>
b
UNLOADED_CHUNK
field_51866
f_vixysifn
UNLOADED
f_337099_
public static final CompletableFuture<ChunkResult<ChunkAccess>>
c
UNLOADED_CHUNK_FUTURE
field_51867
f_dvxkaios
UNLOADED_FUTURE
f_336731_
protected final ChunkPos
d
pos
field_51868
f_ebgmuclj
pos
f_336683_
private volatile ChunkStatus
f
highestAllowedStatus
field_51870
f_lcrguhcy
status
f_337682_
private final AtomicReference<ChunkStatus>
g
startedWork
field_51871
f_mrfjdbpk
currentStatus
f_336967_
private final AtomicReferenceArray<CompletableFuture<ChunkResult<ChunkAccess>>>
h
futures
field_51872
f_aomifvwy
chunkFuturesByStatus
f_337338_
private final AtomicReference<ChunkGenerationTask>
i
task
field_51873
f_quwghkik
chunkLoader
f_337182_
private final AtomicInteger
j
generationRefCount
field_51874
f_pdlayrgd
refCount
f_336999_

Constructor summary

ModifierConstructor
public (ChunkPos pos)

Method summary

Modifier and TypeMethod
public CompletableFuture<ChunkResult<ChunkAccess>>
a(dvz arg0, aqb arg1)
scheduleChunkGenerationTask(ChunkStatus arg0, ChunkMap arg1)
method_60458(class_2806 arg0, class_3898 arg1)
m_tlwdrzoy(C_kogtzhzt arg0, C_gxrpzacc arg1)
load(ChunkStatus requestedStatus, ServerChunkLoadingManager chunkLoadingManager)
m_340221_(C_313554_ p_343602_, C_5429_ arg1)
CompletableFuture<ChunkResult<ChunkAccess>>
a(dwc arg0, aqm arg1, azi<aqn> arg2)
applyStep(ChunkStep arg0, GeneratingChunkMap arg1, StaticCache2D<GenerationChunkHolder> arg2)
method_60461(class_9770 arg0, class_9760 arg1, class_9762<class_9761> arg2)
m_pbjqoalk(C_amgmvhcu arg0, C_zbeluwhm arg1, C_xgsefppr<C_noeozorr> arg2)
generate(ChunkGenerationStep step, ChunkLoadingManager chunkLoadingManager, BoundedRegionArray<AbstractChunkHolder> chunks)
m_340322_(C_336565_ p_342173_, C_336423_ p_343026_, C_336561_<C_336526_> arg2)
protected void
a(aqb arg0)
updateHighestAllowedStatus(ChunkMap arg0)
method_60454(class_3898 arg0)
m_uownjwzs(C_gxrpzacc arg0)
updateStatus(ServerChunkLoadingManager chunkLoadingManager)
m_338906_(C_5429_ arg0)
public void
a(dvh arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_60456(class_2821 arg0)
m_wpkbggig(C_riffdstx arg0)
replaceWith(WrapperProtoChunk chunk)
m_wpkbggig(WrapperProtoChunk value)
m_338783_(C_2136_ arg0)
void
a(apy arg0)
removeTask(ChunkGenerationTask arg0)
method_60453(class_9759 arg0)
m_gckdgdlr(C_rqmfyoal arg0)
clearLoader(ChunkLoader loader)
m_gckdgdlr(apy expectedValue)
m_340319_(C_336542_ arg0)
private void
a(aqb arg0, dvz arg1)
rescheduleChunkTask(ChunkMap arg0, ChunkStatus arg1)
method_60455(class_3898 arg0, class_2806 arg1)
m_mapetjcj(C_gxrpzacc arg0, C_kogtzhzt arg1)
createLoader(ServerChunkLoadingManager chunkLoadingManager, ChunkStatus requestedStatus)
m_340412_(C_5429_ p_343189_, C_313554_ arg1)
private CompletableFuture<ChunkResult<ChunkAccess>>
c(dvz arg0)
getOrCreateFuture(ChunkStatus arg0)
method_60464(class_2806 arg0)
m_msntsfwd(C_kogtzhzt arg0)
getOrCreateFuture(ChunkStatus status)
m_339225_(C_313554_ arg0)
private void
a(dvz arg0, dvz arg1)
failAndClearPendingFuturesBetween(ChunkStatus arg0, ChunkStatus arg1)
method_60460(class_2806 arg0, class_2806 arg1)
m_vbtayqdk(C_kogtzhzt arg0, C_kogtzhzt arg1)
unload(ChunkStatus from, ChunkStatus to)
m_340097_(C_313554_ p_345118_, C_313554_ arg1)
private void
a(int arg0, CompletableFuture<aqc<duy>> arg1)
failAndClearPendingFuture(int arg0, CompletableFuture<ChunkResult<ChunkAccess>> arg1)
method_60452(int arg0, CompletableFuture<class_9259<class_2791>> arg1)
m_zpkzeknf(int arg0, CompletableFuture<C_byseqigh<C_lwzmmmqr>> arg1)
unload(int statusIndex, CompletableFuture<OptionalChunk<Chunk>> previousFuture)
m_zpkzeknf(int i, CompletableFuture<C_byseqigh<Chunk>> expectedValue)
m_340213_(int p_345346_, CompletableFuture<C_313292_<C_2116_>> arg1)
private void
a(dvz arg0, duy arg1)
completeFuture(ChunkStatus arg0, ChunkAccess arg1)
method_60459(class_2806 arg0, class_2791 arg1)
m_isguzkgw(C_kogtzhzt arg0, C_lwzmmmqr arg1)
completeChunkFuture(ChunkStatus status, Chunk chunk)
m_isguzkgw(ChunkStatus arg0, Chunk value)
m_340017_(C_313554_ p_342625_, C_2116_ arg1)
private ChunkStatus
d(dvz arg0)
findHighestStatusWithPendingFuture(ChunkStatus arg0)
method_60465(class_2806 arg0)
m_kuyyxsqy(C_kogtzhzt arg0)
getMaxPendingStatus(ChunkStatus checkUpperBound)
m_340390_(C_313554_ arg0)
private boolean
e(dvz arg0)
acquireStatusBump(ChunkStatus arg0)
method_60466(class_2806 arg0)
m_qxvfppgu(C_kogtzhzt arg0)
progressStatus(ChunkStatus nextStatus)
m_338928_(C_313554_ arg0)
private boolean
f(dvz arg0)
isStatusDisallowed(ChunkStatus arg0)
method_60467(class_2806 arg0)
m_muabrwsc(C_kogtzhzt arg0)
cannotBeLoaded(ChunkStatus status)
m_340530_(C_313554_ arg0)
public void
m()
increaseGenerationRefCount()
method_60468()
m_qjqilkvq()
incrementRefCount()
m_338841_()
public void
n()
decreaseGenerationRefCount()
method_60469()
m_tkvqhrhz()
decrementRefCount()
m_340129_()
public int
o()
getGenerationRefCount()
method_60470()
m_aidwxzap()
getRefCount()
m_339108_()
public ChunkAccess
a(dvz arg0)
getChunkIfPresentUnchecked(ChunkStatus arg0)
method_60457(class_2806 arg0)
m_lhvzhhiz(C_kogtzhzt arg0)
getUncheckedOrNull(ChunkStatus requestedStatus)
m_338381_(C_313554_ arg0)
public ChunkAccess
b(dvz arg0)
getChunkIfPresent(ChunkStatus arg0)
method_60463(class_2806 arg0)
m_ebphkhej(C_kogtzhzt arg0)
getOrNull(ChunkStatus requestedStatus)
m_340522_(C_313554_ arg0)
public ChunkAccess
p()
getLatestChunk()
method_60471()
m_yxiwbzig()
getLatest()
m_340032_()
public ChunkStatus
q()
getPersistedStatus()
method_60472()
m_rexjnwwq()
getActualStatus()
m_339972_()
public ChunkPos
r()
getPos()
method_60473()
m_tcqgxyge()
getPos()
m_338581_()
public FullChunkStatus
s()
getFullStatus()
method_60474()
m_hmfrkclt()
getLevelType()
m_339537_()
public abstract int
i()
getTicketLevel()
method_14005()
m_poqgkflu()
getLevel()
m_140093_()
public abstract int
j()
getQueueLevel()
method_17208()
m_wxbuauml()
getCompletedLevel()
m_140094_()
public List<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<ChunkResult<ChunkAccess>>>>
t()
getAllFutures()
method_60475()
m_oqbycpsw()
enumerateFutures()
m_340094_()
public ChunkStatus
u()
getLatestStatus()
method_60476()
m_jxpmuqlm()
getLatestStatus()
m_338382_()