net.minecraft.server.level

public class ChunkHolder

ajy
net.minecraft.server.level.ChunkHolder
net.minecraft.class_3193
net.minecraft.unmapped.C_gkderdjo
net.minecraft.server.world.ChunkHolder
net.minecraft.server.world.ChunkHolder
net.minecraft.src.C_5422_
net.minecraft.server.level.PlayerChunk

Field summary

Modifier and TypeField
public static final com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>
a
UNLOADED_CHUNK
field_16426
f_hkgaunht
UNLOADED_CHUNK
UNLOADED_CHUNK
f_139995_
public static final CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b
UNLOADED_CHUNK_FUTURE
field_16430
f_iakyvyty
UNLOADED_CHUNK_FUTURE
UNLOADED_CHUNK_FUTURE
f_139996_
public static final com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>
c
UNLOADED_LEVEL_CHUNK
field_16427
f_sftixqgk
UNLOADED_WORLD_CHUNK
UNLOADED_WORLD_CHUNK
f_139997_
private static final com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>
d
NOT_DONE_YET
field_36388
f_pjpzhajo
CHUNK_LOADING_NOT_FINISHED
INCOMPLETE
f_203750_
private static final CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
e
UNLOADED_LEVEL_CHUNK_FUTURE
field_16429
f_gxxqfxop
UNLOADED_WORLD_CHUNK_FUTURE
UNLOADED_WORLD_CHUNK_FUTURE
f_139998_
private static final List<ChunkStatus>
f
CHUNK_STATUSES
field_13868
f_ikseepcu
CHUNK_STATUSES
CHUNK_STATUSES
f_139999_
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>>
g
futures
field_16425
f_imueocvc
futuresByStatus
futuresByStatus
f_140001_
private final LevelHeightAccessor
h
levelHeightAccessor
field_26929
f_yygzmouw
world
world
f_142983_
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
i
fullChunkFuture
field_16431
f_pudkanic
accessibleFuture
accessibleFuture
f_140002_
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
j
tickingChunkFuture
field_19333
f_lbtnztml
tickingFuture
tickingFuture
f_140003_
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
k
entityTickingChunkFuture
field_13865
f_ecmqijre
entityTickingFuture
entityTickingFuture
f_140004_
private CompletableFuture<ChunkAccess>
l
chunkToSave
field_16428
f_hrvezlqv
savingFuture
savingFuture
f_140005_
private final DebugBuffer<ChunkHolder$ChunkSaveDebug>
m
chunkToSaveHistory
field_28806
f_qmgttqzx
actionStack
actionStack
f_142984_
private int
n
oldTicketLevel
field_16432
f_tyworwzc
lastTickLevel
lastTickLevel
f_140006_
private int
o
ticketLevel
field_13862
f_omdiodzh
level
level
f_140007_
private int
p
queueLevel
field_17208
f_nfzawtue
completedLevel
completedLevel
f_140008_
final ChunkPos
q
pos
field_13864
f_doxykbcb
pos
pos
f_140009_
private boolean
r
hasChangedSections
field_25803
f_xbnfbbja
pendingBlockUpdates
pendingBlockUpdates
f_140010_
private final it.unimi.dsi.fastutil.shorts.ShortSet[]
s
changedBlocksPerSection
field_25804
f_sgkyxjdx
blockUpdatesBySection
blockUpdatesBySection
f_140011_
private final BitSet
t
blockChangedLightSectionFilter
field_13871
f_qfmkgtss
blockLightUpdateBits
blockLightUpdateBits
f_140012_
private final BitSet
u
skyChangedLightSectionFilter
field_13870
f_elnsgicl
skyLightUpdateBits
skyLightUpdateBits
f_140013_
private final LevelLightEngine
v
lightEngine
field_13863
f_peybckli
lightingProvider
lightingProvider
f_140014_
private final ChunkHolder$LevelChangeListener
w
onLevelChange
field_17209
f_lilcuhvx
levelUpdateListener
levelUpdateListener
f_140015_
private final ChunkHolder$PlayerProvider
x
playerProvider
field_17210
f_ynuhroyt
playersWatchingChunkProvider
playersWatchingChunkProvider
f_140016_
private boolean
y
wasAccessibleSinceLastSave
field_19238
f_tbnmoxhy
accessible
accessible
f_140017_
private CompletableFuture<Void>
z
pendingFullStateConfirmation
field_26930
f_wuawgnhv
field_26930
pendingLoadStatusConfirmation
f_142981_
private CompletableFuture<?>
A
sendSync
field_46085
f_tobgthuu
postProcessingFuture
f_290310_

Constructor summary

ModifierConstructor
public (ChunkPos pos, int level, LevelHeightAccessor world, LevelLightEngine lightingProvider, ChunkHolder$LevelChangeListener levelUpdateListener, ChunkHolder$PlayerProvider playersWatchingChunkProvider)

Method summary

Modifier and TypeMethod
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(dhk arg0)
getFutureIfPresentUnchecked(ChunkStatus arg0)
method_16146(class_2806 arg0)
m_wgdopzjl(C_kogtzhzt arg0)
getFutureFor(ChunkStatus leastStatus)
getFutureFor(ChunkStatus leastStatus)
m_140047_(C_2126_ arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b(dhk arg0)
getFutureIfPresent(ChunkStatus arg0)
method_21737(class_2806 arg0)
m_csdoluin(C_kogtzhzt arg0)
getValidFutureFor(ChunkStatus leastStatus)
getValidFutureFor(ChunkStatus leastStatus)
m_140080_(C_2126_ arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
a()
getTickingChunkFuture()
method_16145()
m_kgzokvvv()
getTickingFuture()
getTickingFuture()
m_140026_()
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
b()
getEntityTickingChunkFuture()
method_14003()
m_lqtjurpe()
getEntityTickingFuture()
getEntityTickingFuture()
m_140073_()
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
c()
getFullChunkFuture()
method_20725()
m_gjochkby()
getAccessibleFuture()
getAccessibleFuture()
m_140082_()
public LevelChunk
d()
getTickingChunk()
method_16144()
m_rllpjhva()
getWorldChunk()
getWorldChunk()
m_140085_()
public CompletableFuture<?>
e()
getChunkSendSyncFuture()
method_53681()
m_fwtwkvsc()
getPostProcessingFuture()
m_294134_()
public LevelChunk
f()
getChunkToSend()
method_53682()
m_redrnhfe()
getPostProcessedChunk()
m_295552_()
public LevelChunk
g()
getFullChunk()
method_41205()
m_tltcqrrq()
getAccessibleChunk()
getAccessibleChunk()
m_212234_()
public ChunkStatus
h()
getLastAvailableStatus()
method_23270()
m_cddxmksj()
getCurrentStatus()
getCurrentStatus()
m_140088_()
public ChunkAccess
i()
getLastAvailable()
method_14010()
m_feqdkjyf()
getCurrentChunk()
getCurrentChunk()
m_140089_()
public CompletableFuture<ChunkAccess>
j()
getChunkToSave()
method_14000()
m_wtdofwbi()
getSavingFuture()
getSavingFuture()
m_140090_()
public void
a(gw arg0)
blockChanged(BlockPos arg0)
method_14002(class_2338 arg0)
m_zuqnnazp(C_hynzadkk arg0)
markForBlockUpdate(BlockPos pos)
markForBlockUpdate(BlockPos pos)
m_140056_(C_4675_ arg0)
public void
a(cqe arg0, int arg1)
sectionLightChanged(LightLayer arg0, int arg1)
method_14012(class_1944 arg0, int arg1)
m_mlibztsg(C_fhvlmqtw arg0, int arg1)
markForLightUpdate(LightType lightType, int y)
markForLightUpdate(LightType lightType, int y)
m_140036_(C_1607_ p_140038_, int arg1)
public void
a(dhq arg0)
broadcastChanges(LevelChunk arg0)
method_14006(class_2818 arg0)
m_ucfsyfpl(C_hrdsvlkq arg0)
flushUpdates(WorldChunk chunk)
flushUpdates(WorldChunk chunk)
m_140054_(C_2137_ arg0)
private void
a(List<akr> arg0, cpv arg1, gw arg2, dfj arg3)
broadcastBlockEntityIfNeeded(List<ServerPlayer> arg0, Level arg1, BlockPos arg2, BlockState arg3)
method_30311(List<class_3222> arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3)
m_upbtkato(List<C_mxrobsgg> arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3)
tryUpdateBlockEntityAt(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state)
tryUpdateBlockEntityAt(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state)
m_288224_(List<C_13_> p_289011_, C_1596_ p_288969_, C_4675_ p_288973_, C_2064_ arg3)
private void
a(List<akr> arg0, cpv arg1, gw arg2)
broadcastBlockEntity(List<ServerPlayer> arg0, Level arg1, BlockPos arg2)
method_14009(List<class_3222> arg0, class_1937 arg1, class_2338 arg2)
m_rpqawkcj(List<C_mxrobsgg> arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
sendBlockEntityUpdatePacket(List<ServerPlayerEntity> players, World world, BlockPos pos)
sendBlockEntityUpdatePacket(List<ServerPlayerEntity> players, World world, BlockPos pos)
m_288223_(List<C_13_> p_289005_, C_1596_ p_288981_, C_4675_ arg2)
private void
a(List<akr> arg0, vd<?> arg1)
broadcast(List<ServerPlayer> arg0, Packet<?> arg1)
method_13992(List<class_3222> arg0, class_2596<?> arg1)
m_hqvrbhfi(List<C_mxrobsgg> arg0, C_zyjtrjrl<?> arg1)
sendPacketToPlayers(List<ServerPlayerEntity> players, Packet<?> packet)
sendPacketToPlayersWatching(List<ServerPlayerEntity> players, Packet<?> packet)
m_288202_(List<C_13_> p_289013_, C_5028_<?> arg1)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(dhk arg0, aka arg1)
getOrScheduleFuture(ChunkStatus arg0, ChunkMap arg1)
method_13993(class_2806 arg0, class_3898 arg1)
m_qyvyszic(C_kogtzhzt arg0, C_gxrpzacc arg1)
getChunkAt(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage)
getChunkAt(ChunkStatus targetStatus, ThreadedChunkManager chunkStorage)
m_140049_(C_2126_ p_140051_, C_5429_ arg1)
protected void
a(String arg0, CompletableFuture<?> arg1)
addSaveDependency(String arg0, CompletableFuture<?> arg1)
method_39967(String arg0, CompletableFuture<?> arg1)
m_fnpxnlqk(String arg0, CompletableFuture<?> arg1)
combineSavingFuture(String thenDesc, CompletableFuture<?> then)
addSaveAction(String description, CompletableFuture<?> action)
m_200416_(String p_200418_, CompletableFuture<?> arg1)
private void
a(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends dhf, ajy$a>> arg0, String arg1)
updateChunkToSave(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends ChunkAccess, ChunkHolder$ChunkLoadingFailure>> arg0, String arg1)
method_16143(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends class_2791, class_3193$class_3724>> arg0, String arg1)
m_vhzzqiww(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends C_lwzmmmqr, C_gkderdjo$C_mnhcarhk>> arg0, String arg1)
combineSavingFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder$Unloaded>> then, String thenDesc)
combineSavingFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder$Unloaded>> then, String thenDesc)
m_143017_(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends C_2116_, C_5422_$C_5424_>> p_143019_, String arg1)
public void
a(CompletableFuture<?> arg0)
addSendDependency(CompletableFuture<?> arg0)
method_53680(CompletableFuture<?> arg0)
m_ctydzbsi(CompletableFuture<?> arg0)
combinePostProcessingFuture(CompletableFuture<?> postProcessingFuture)
m_295085_(CompletableFuture<?> arg0)
public FullChunkStatus
k()
getFullStatus()
method_23271()
m_joqyazoy()
getLevelType()
getLevelType()
m_287213_()
public ChunkPos
l()
getPos()
method_13994()
m_jftlwgce()
getPos()
getPos()
m_140092_()
public int
m()
getTicketLevel()
method_14005()
m_gavtlnfz()
getLevel()
getLevel()
m_140093_()
public int
n()
getQueueLevel()
method_17208()
m_oiirrjzd()
getCompletedLevel()
getCompletedLevel()
m_140094_()
private void
b(int arg0)
setQueueLevel(int arg0)
method_17207(int arg0)
m_ksnbkgsf(int arg0)
setCompletedLevel(int level)
setCompletedLevel(int level)
m_140086_(int arg0)
public void
a(int arg0)
setTicketLevel(int arg0)
method_15890(int arg0)
m_cjbyykuq(int arg0)
setLevel(int level)
setLevel(int level)
m_140027_(int arg0)
private void
a(aka arg0, CompletableFuture<com.mojang.datafixers.util.Either<dhq, ajy$a>> arg1, Executor arg2, akj arg3)
scheduleFullChunkPromotion(ChunkMap arg0, CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>> arg1, Executor arg2, FullChunkStatus arg3)
method_31409(class_3898 arg0, CompletableFuture<com.mojang.datafixers.util.Either<class_2818, class_3193$class_3724>> arg1, Executor arg2, class_3194 arg3)
m_djkbnszk(C_gxrpzacc arg0, CompletableFuture<com.mojang.datafixers.util.Either<C_hrdsvlkq, C_gkderdjo$C_mnhcarhk>> arg1, Executor arg2, C_whqcauvq arg3)
method_31409(ThreadedAnvilChunkStorage arg0, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder$Unloaded>> arg1, Executor arg2, ChunkLevelType arg3)
scheduleLoadStatusPromotion(ThreadedChunkManager chunkManager, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder$Unloaded>> postRun, Executor executor, ChunkLoadStatus status)
m_142998_(C_5429_ p_143000_, CompletableFuture<com.mojang.datafixers.util.Either<C_2137_, C_5422_$C_5424_>> p_143001_, Executor p_287621_, C_286921_ arg3)
private void
a(aka arg0, akj arg1)
demoteFullChunk(ChunkMap arg0, FullChunkStatus arg1)
method_31408(class_3898 arg0, class_3194 arg1)
m_qjjuiqjg(C_gxrpzacc arg0, C_whqcauvq arg1)
method_31408(ThreadedAnvilChunkStorage arg0, ChunkLevelType arg1)
updateStatus(ThreadedChunkManager chunkManager, ChunkLoadStatus status)
m_287189_(C_5429_ p_287649_, C_286921_ arg1)
protected void
a(aka arg0, Executor arg1)
updateFutures(ChunkMap arg0, Executor arg1)
method_14007(class_3898 arg0, Executor arg1)
m_hjqqoeij(C_gxrpzacc arg0, Executor arg1)
updateFutures(ThreadedAnvilChunkStorage chunkStorage, Executor executor)
tick(ThreadedChunkManager chunkManager, Executor executor)
m_143003_(C_5429_ p_143005_, Executor arg1)
public boolean
o()
wasAccessibleSinceLastSave()
method_20384()
m_wimfsfkf()
isAccessible()
isAccessible()
m_140095_()
public void
p()
refreshAccessibility()
method_20385()
m_zmvaaivo()
updateAccessibleStatus()
updateAccessibleStatus()
m_140096_()
public void
a(dhp arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_20456(class_2821 arg0)
m_llqjdhut(C_riffdstx arg0)
setCompletedChunk(WrapperProtoChunk chunk)
setCompletedChunk(WrapperProtoChunk chunk)
m_140052_(C_2136_ arg0)
public List<com.mojang.datafixers.util.Pair<ChunkStatus, CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>>>
q()
getAllFutures()
method_40066()
m_pzpckoay()
collectFuturesByStatus()
getAllFutures()
m_202980_()