net.minecraft.server.level

public class ChunkHolder

agy
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
field_36388
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 static final ChunkHolder$FullChunkStatus[]
g
FULL_CHUNK_STATUSES
field_13873
f_siegpkpk
LEVEL_TYPES
LEVEL_TYPES
f_140000_
private static final int
h
BLOCKS_BEFORE_RESEND_FUDGE
field_29668
f_zmcwqljq
field_29668
f_142982_
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>>
i
futures
field_16425
f_imueocvc
futuresByStatus
futuresByStatus
f_140001_
private final LevelHeightAccessor
j
levelHeightAccessor
field_26929
f_yygzmouw
world
world
f_142983_
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
k
fullChunkFuture
field_16431
f_pudkanic
accessibleFuture
accessibleFuture
f_140002_
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
l
tickingChunkFuture
field_19333
f_lbtnztml
tickingFuture
tickingFuture
f_140003_
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
m
entityTickingChunkFuture
field_13865
f_ecmqijre
entityTickingFuture
entityTickingFuture
f_140004_
private CompletableFuture<ChunkAccess>
n
chunkToSave
field_16428
f_hrvezlqv
savingFuture
savingFuture
f_140005_
private final DebugBuffer<ChunkHolder$ChunkSaveDebug>
o
chunkToSaveHistory
field_28806
f_qmgttqzx
actionStack
actionStack
f_142984_
private int
p
oldTicketLevel
field_16432
f_tyworwzc
lastTickLevel
lastTickLevel
f_140006_
private int
q
ticketLevel
field_13862
f_omdiodzh
level
level
f_140007_
private int
r
queueLevel
field_17208
f_nfzawtue
completedLevel
completedLevel
f_140008_
final ChunkPos
s
pos
field_13864
f_doxykbcb
pos
pos
f_140009_
private boolean
t
hasChangedSections
field_25803
f_xbnfbbja
pendingBlockUpdates
pendingBlockUpdates
f_140010_
private final it.unimi.dsi.fastutil.shorts.ShortSet[]
u
changedBlocksPerSection
field_25804
f_sgkyxjdx
blockUpdatesBySection
blockUpdatesBySection
f_140011_
private final BitSet
v
blockChangedLightSectionFilter
field_13871
f_qfmkgtss
blockLightUpdateBits
blockLightUpdateBits
f_140012_
private final BitSet
w
skyChangedLightSectionFilter
field_13870
f_elnsgicl
skyLightUpdateBits
skyLightUpdateBits
f_140013_
private final LevelLightEngine
x
lightEngine
field_13863
f_peybckli
lightingProvider
lightingProvider
f_140014_
private final ChunkHolder$LevelChangeListener
y
onLevelChange
field_17209
f_lilcuhvx
levelUpdateListener
levelUpdateListener
f_140015_
private final ChunkHolder$PlayerProvider
z
playerProvider
field_17210
f_ynuhroyt
playersWatchingChunkProvider
playersWatchingChunkProvider
f_140016_
private boolean
A
wasAccessibleSinceLastSave
field_19238
f_tbnmoxhy
accessible
accessible
f_140017_
private boolean
B
resendLight
field_26744
f_iwnfgrud
noLightingUpdates
f_140018_
private CompletableFuture<Void>
C
pendingFullStateConfirmation
field_26930
f_wuawgnhv
field_26930
f_142981_

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(dau 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(dau 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 LevelChunk
e()
getFullChunk()
method_41205()
m_tltcqrrq()
method_41205()
m_212234_()
public ChunkStatus
f()
getLastAvailableStatus()
method_23270()
m_cddxmksj()
getCurrentStatus()
getCurrentStatus()
m_140088_()
public ChunkAccess
g()
getLastAvailable()
method_14010()
m_feqdkjyf()
getCurrentChunk()
getCurrentChunk()
m_140089_()
public CompletableFuture<ChunkAccess>
h()
getChunkToSave()
method_14000()
m_wtdofwbi()
getSavingFuture()
getSavingFuture()
m_140090_()
public void
a(gp 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(ckf 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(dba 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(cjw arg0, gp arg1, cyt arg2)
broadcastBlockEntityIfNeeded(Level arg0, BlockPos arg1, BlockState arg2)
method_30311(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_upbtkato(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state)
tryUpdateBlockEntityAt(World world, BlockPos pos, BlockState state)
m_140032_(C_1596_ p_140034_, C_4675_ p_140035_, C_2064_ arg2)
private void
a(cjw arg0, gp arg1)
broadcastBlockEntity(Level arg0, BlockPos arg1)
method_14009(class_1937 arg0, class_2338 arg1)
m_rpqawkcj(C_cdctfzbn arg0, C_hynzadkk arg1)
sendBlockEntityUpdatePacket(World world, BlockPos pos)
sendBlockEntityUpdatePacket(World world, BlockPos pos)
m_140029_(C_1596_ p_140031_, C_4675_ arg1)
private void
a(uh<?> arg0, boolean arg1)
broadcast(Packet<?> arg0, boolean arg1)
method_13992(class_2596<?> arg0, boolean arg1)
m_hqvrbhfi(C_zyjtrjrl<?> arg0, boolean arg1)
sendPacketToPlayersWatching(Packet<?> packet, boolean onlyOnWatchDistanceEdge)
sendPacketToPlayersWatching(Packet<?> packet, boolean onlyOnWatchDistanceEdge)
m_140063_(C_5028_<?> p_140065_, boolean arg1)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(dau arg0, agz 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)
m_200416_(String p_200418_, CompletableFuture<?> arg1)
private void
a(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends dap, agy$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 ChunkHolder$FullChunkStatus
i()
getFullStatus()
method_23271()
m_joqyazoy()
getLevelType()
getLevelType()
m_140091_()
public ChunkPos
j()
getPos()
method_13994()
m_jftlwgce()
getPos()
getPos()
m_140092_()
public int
k()
getTicketLevel()
method_14005()
m_gavtlnfz()
getLevel()
getLevel()
m_140093_()
public int
l()
getQueueLevel()
method_17208()
m_oiirrjzd()
getCompletedLevel()
getCompletedLevel()
m_140094_()
private void
d(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(agz arg0, CompletableFuture<com.mojang.datafixers.util.Either<dba, agy$a>> arg1, Executor arg2, agy$c arg3)
scheduleFullChunkPromotion(ChunkMap arg0, CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>> arg1, Executor arg2, ChunkHolder$FullChunkStatus arg3)
method_31409(class_3898 arg0, CompletableFuture<com.mojang.datafixers.util.Either<class_2818, class_3193$class_3724>> arg1, Executor arg2, class_3193$class_3194 arg3)
m_djkbnszk(C_gxrpzacc arg0, CompletableFuture<com.mojang.datafixers.util.Either<C_hrdsvlkq, C_gkderdjo$C_mnhcarhk>> arg1, Executor arg2, C_gkderdjo$C_yzdkhkui arg3)
method_31409(ThreadedAnvilChunkStorage arg0, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder$Unloaded>> arg1, Executor arg2, ChunkHolder$LevelType arg3)
m_142998_(C_5429_ p_143000_, CompletableFuture<com.mojang.datafixers.util.Either<C_2137_, C_5422_$C_5424_>> p_143001_, Executor p_143002_, C_5422_$C_5426_ arg3)
private void
a(agz arg0, agy$c arg1)
demoteFullChunk(ChunkMap arg0, ChunkHolder$FullChunkStatus arg1)
method_31408(class_3898 arg0, class_3193$class_3194 arg1)
m_qjjuiqjg(C_gxrpzacc arg0, C_gkderdjo$C_yzdkhkui arg1)
method_31408(ThreadedAnvilChunkStorage arg0, ChunkHolder$LevelType arg1)
m_142992_(C_5429_ p_142994_, C_5422_$C_5426_ arg1)
protected void
a(agz arg0, Executor arg1)
updateFutures(ChunkMap arg0, Executor arg1)
method_14007(class_3898 arg0, Executor arg1)
m_hjqqoeij(C_gxrpzacc arg0, Executor arg1)
tick(ThreadedAnvilChunkStorage chunkStorage, Executor arg1)
tick(ThreadedChunkManager chunkStorage, Executor arg1)
m_143003_(C_5429_ p_143005_, Executor arg1)
public static ChunkStatus
b(int arg0)
getStatus(int arg0)
method_14011(int arg0)
m_jnwkwjsf(int arg0)
getTargetStatusForLevel(int level)
getTargetStatusForLevel(int level)
m_140074_(int p_140075_)
public static ChunkHolder$FullChunkStatus
c(int arg0)
getFullChunkStatus(int arg0)
method_14008(int arg0)
m_ofeohdyl(int arg0)
getLevelType(int distance)
getLevelType(int distance)
m_140083_(int p_140084_)
public boolean
m()
wasAccessibleSinceLastSave()
method_20384()
m_wimfsfkf()
isAccessible()
isAccessible()
m_140095_()
public void
n()
refreshAccessibility()
method_20385()
m_zmvaaivo()
updateAccessibleStatus()
updateAccessibleStatus()
m_140096_()
public void
a(daz arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_20456(class_2821 arg0)
m_llqjdhut(C_riffdstx arg0)
setCompletedChunk(ReadOnlyChunk 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>>>>
o()
getAllFutures()
method_40066()
m_pzpckoay()
collectFuturesByStatus()
getAllFutures()
m_202980_()