net.minecraft.server.level

public class ChunkHolder

extends GenerationChunkHolder

apz
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 ChunkResult<LevelChunk>
a
UNLOADED_LEVEL_CHUNK
field_16427
f_sftixqgk
UNLOADED_WORLD_CHUNK
UNLOADED_WORLD_CHUNK
f_139997_
private static final CompletableFuture<ChunkResult<LevelChunk>>
e
UNLOADED_LEVEL_CHUNK_FUTURE
field_16429
f_gxxqfxop
UNLOADED_WORLD_CHUNK_FUTURE
UNLOADED_WORLD_CHUNK_FUTURE
f_139998_
private final LevelHeightAccessor
f
levelHeightAccessor
field_26929
f_yygzmouw
world
world
f_142983_
private volatile CompletableFuture<ChunkResult<LevelChunk>>
g
fullChunkFuture
field_16431
f_pudkanic
accessibleFuture
accessibleFuture
f_140002_
private volatile CompletableFuture<ChunkResult<LevelChunk>>
h
tickingChunkFuture
field_19333
f_lbtnztml
tickingFuture
tickingFuture
f_140003_
private volatile CompletableFuture<ChunkResult<LevelChunk>>
i
entityTickingChunkFuture
field_13865
f_ecmqijre
entityTickingFuture
entityTickingFuture
f_140004_
private int
j
oldTicketLevel
field_16432
f_tyworwzc
lastTickLevel
lastTickLevel
f_140006_
private int
k
ticketLevel
field_13862
f_omdiodzh
level
level
f_140007_
private int
l
queueLevel
field_17208
f_nfzawtue
completedLevel
completedLevel
f_140008_
private boolean
m
hasChangedSections
field_25803
f_xbnfbbja
pendingBlockUpdates
pendingBlockUpdates
f_140010_
private final it.unimi.dsi.fastutil.shorts.ShortSet[]
n
changedBlocksPerSection
field_25804
f_sgkyxjdx
blockUpdatesBySection
blockUpdatesBySection
f_140011_
private final BitSet
o
blockChangedLightSectionFilter
field_13871
f_qfmkgtss
blockLightUpdateBits
blockLightUpdateBits
f_140012_
private final BitSet
p
skyChangedLightSectionFilter
field_13870
f_elnsgicl
skyLightUpdateBits
skyLightUpdateBits
f_140013_
private final LevelLightEngine
q
lightEngine
field_13863
f_peybckli
lightingProvider
lightingProvider
f_140014_
private final ChunkHolder$LevelChangeListener
r
onLevelChange
field_17209
f_lilcuhvx
levelUpdateListener
levelUpdateListener
f_140015_
private final ChunkHolder$PlayerProvider
s
playerProvider
field_17210
f_ynuhroyt
playersWatchingChunkProvider
playersWatchingChunkProvider
f_140016_
private boolean
t
wasAccessibleSinceLastSave
field_19238
f_tbnmoxhy
accessible
accessible
f_140017_
private CompletableFuture<?>
u
pendingFullStateConfirmation
field_26930
f_wuawgnhv
levelIncreaseFuture
pendingLoadStatusConfirmation
f_142981_
private CompletableFuture<?>
v
sendSync
field_46085
f_tobgthuu
postProcessingFuture
f_290310_
private CompletableFuture<?>
w
saveSync
field_51858
f_yorowrqk
savingFuture
f_337350_

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<ChunkResult<LevelChunk>>
a()
getTickingChunkFuture()
method_16145()
m_kgzokvvv()
getTickingFuture()
getTickingFuture()
m_140026_()
public CompletableFuture<ChunkResult<LevelChunk>>
b()
getEntityTickingChunkFuture()
method_14003()
m_lqtjurpe()
getEntityTickingFuture()
getEntityTickingFuture()
m_140073_()
public CompletableFuture<ChunkResult<LevelChunk>>
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()
getChunkToSend()
method_53682()
m_redrnhfe()
getPostProcessedChunk()
m_295552_()
public CompletableFuture<?>
f()
getSendSyncFuture()
method_53681()
m_zkkhbsni()
getPostProcessingFuture()
m_294134_()
public void
a(CompletableFuture<?> arg0)
addSendDependency(CompletableFuture<?> arg0)
method_53680(CompletableFuture<?> arg0)
m_ctydzbsi(CompletableFuture<?> arg0)
combinePostProcessingFuture(CompletableFuture<?> postProcessingFuture)
m_ctydzbsi(CompletableFuture<?> other)
m_295085_(CompletableFuture<?> arg0)
public CompletableFuture<?>
g()
getSaveSyncFuture()
method_14000()
m_ojiaohrv()
getSavingFuture()
m_339472_()
public boolean
h()
isReadyForSaving()
method_60436()
m_adubbpqg()
isSavable()
m_339539_()
private void
b(CompletableFuture<?> arg0)
addSaveDependency(CompletableFuture<?> arg0)
method_39967(CompletableFuture<?> arg0)
m_fnpxnlqk(CompletableFuture<?> arg0)
combineSavingFuture(CompletableFuture<?> savingFuture)
addSaveAction(CompletableFuture<?> action)
m_200416_(CompletableFuture<?> arg0)
public void
a(jd 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(ddf 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(dvi 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<aqv> arg0, dcw arg1, jd arg2, dtc 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<aqv> arg0, dcw arg1, jd 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<aqv> arg0, zg<?> 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 int
i()
getTicketLevel()
method_14005()
m_poqgkflu()
getLevel()
m_140093_()
public int
j()
getQueueLevel()
method_17208()
m_wxbuauml()
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(aqb arg0, CompletableFuture<aqc<dvi>> arg1, Executor arg2, aql arg3)
scheduleFullChunkPromotion(ChunkMap arg0, CompletableFuture<ChunkResult<LevelChunk>> arg1, Executor arg2, FullChunkStatus arg3)
method_31409(class_3898 arg0, CompletableFuture<class_9259<class_2818>> arg1, Executor arg2, class_3194 arg3)
m_djkbnszk(C_gxrpzacc arg0, CompletableFuture<C_byseqigh<C_hrdsvlkq>> arg1, Executor arg2, C_whqcauvq arg3)
increaseLevel(ServerChunkLoadingManager chunkLoadingManager, CompletableFuture<OptionalChunk<WorldChunk>> chunkFuture, Executor executor, ChunkLevelType target)
scheduleLoadStatusPromotion(ThreadedChunkManager chunkManager, CompletableFuture<C_byseqigh<WorldChunk>> postRun, Executor executor, ChunkLoadStatus status)
m_142998_(C_5429_ p_143000_, CompletableFuture<C_313292_<C_2137_>> p_143001_, Executor p_287621_, C_286921_ arg3)
private void
a(aqb arg0, aql arg1)
demoteFullChunk(ChunkMap arg0, FullChunkStatus arg1)
method_31408(class_3898 arg0, class_3194 arg1)
m_qjjuiqjg(C_gxrpzacc arg0, C_whqcauvq arg1)
decreaseLevel(ServerChunkLoadingManager chunkLoadingManager, ChunkLevelType target)
updateStatus(ThreadedChunkManager chunkManager, ChunkLoadStatus status)
m_287189_(C_5429_ p_287649_, C_286921_ arg1)
protected void
a(aqb arg0, Executor arg1)
updateFutures(ChunkMap arg0, Executor arg1)
method_14007(class_3898 arg0, Executor arg1)
m_hjqqoeij(C_gxrpzacc arg0, Executor arg1)
updateFutures(ServerChunkLoadingManager chunkLoadingManager, Executor executor)
tick(ThreadedChunkManager chunkManager, Executor executor)
m_143003_(C_5429_ p_143005_, Executor arg1)
public boolean
k()
wasAccessibleSinceLastSave()
method_20384()
m_wimfsfkf()
isAccessible()
isAccessible()
m_140095_()
public void
l()
refreshAccessibility()
method_20385()
m_zmvaaivo()
updateAccessibleStatus()
updateAccessibleStatus()
m_140096_()