net.minecraft.server.level

public class ChunkHolder

extends GenerationChunkHolder

ark
net.minecraft.server.level.ChunkHolder
net.minecraft.class_3193
net.minecraft.server.world.ChunkHolder
net.minecraft.server.level.PlayerChunk

Field summary

Modifier and TypeField
public static final ChunkResult<LevelChunk>
a
UNLOADED_LEVEL_CHUNK
field_16427
UNLOADED_WORLD_CHUNK
private static final CompletableFuture<ChunkResult<LevelChunk>>
e
UNLOADED_LEVEL_CHUNK_FUTURE
field_16429
UNLOADED_WORLD_CHUNK_FUTURE
private final LevelHeightAccessor
f
levelHeightAccessor
field_26929
world
private volatile CompletableFuture<ChunkResult<LevelChunk>>
g
fullChunkFuture
field_16431
accessibleFuture
private volatile CompletableFuture<ChunkResult<LevelChunk>>
h
tickingChunkFuture
field_19333
tickingFuture
private volatile CompletableFuture<ChunkResult<LevelChunk>>
i
entityTickingChunkFuture
field_13865
entityTickingFuture
private int
j
oldTicketLevel
field_16432
lastTickLevel
private int
k
ticketLevel
field_13862
level
private int
l
queueLevel
field_17208
completedLevel
private boolean
m
hasChangedSections
field_25803
pendingBlockUpdates
private final it.unimi.dsi.fastutil.shorts.ShortSet[]
n
changedBlocksPerSection
field_25804
blockUpdatesBySection
private final BitSet
o
blockChangedLightSectionFilter
field_13871
blockLightUpdateBits
private final BitSet
p
skyChangedLightSectionFilter
field_13870
skyLightUpdateBits
private final LevelLightEngine
q
lightEngine
field_13863
lightingProvider
private final ChunkHolder$LevelChangeListener
r
onLevelChange
field_17209
levelUpdateListener
private final ChunkHolder$PlayerProvider
s
playerProvider
field_17210
playersWatchingChunkProvider
private boolean
t
wasAccessibleSinceLastSave
field_19238
accessible
private CompletableFuture<?>
u
pendingFullStateConfirmation
field_26930
levelIncreaseFuture
private CompletableFuture<?>
v
sendSync
field_46085
postProcessingFuture
private CompletableFuture<?>
w
saveSync
field_51858
savingFuture

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()
getTickingFuture()
public CompletableFuture<ChunkResult<LevelChunk>>
b()
getEntityTickingChunkFuture()
method_14003()
getEntityTickingFuture()
public CompletableFuture<ChunkResult<LevelChunk>>
c()
getFullChunkFuture()
method_20725()
getAccessibleFuture()
public LevelChunk
d()
getTickingChunk()
method_16144()
getWorldChunk()
public LevelChunk
e()
getChunkToSend()
method_53682()
getPostProcessedChunk()
public CompletableFuture<?>
f()
getSendSyncFuture()
method_53681()
getPostProcessingFuture()
public void
a(CompletableFuture<?> arg0)
addSendDependency(CompletableFuture<?> arg0)
method_53680(CompletableFuture<?> arg0)
combinePostProcessingFuture(CompletableFuture<?> postProcessingFuture)
public CompletableFuture<?>
g()
getSaveSyncFuture()
method_14000()
getSavingFuture()
public boolean
h()
isReadyForSaving()
method_60436()
isSavable()
protected void
b(CompletableFuture<?> arg0)
addSaveDependency(CompletableFuture<?> arg0)
method_39967(CompletableFuture<?> arg0)
combineSavingFuture(CompletableFuture<?> arg0)
public boolean
a(jh arg0)
blockChanged(BlockPos arg0)
method_14002(class_2338 arg0)
markForBlockUpdate(BlockPos pos)
public boolean
a(dhr arg0, int arg1)
sectionLightChanged(LightLayer arg0, int arg1)
method_14012(class_1944 arg0, int arg1)
markForLightUpdate(LightType lightType, int y)
public boolean
i()
hasChangesToBroadcast()
method_65077()
hasPendingUpdates()
public void
a(eaa arg0)
broadcastChanges(LevelChunk arg0)
method_14006(class_2818 arg0)
flushUpdates(WorldChunk chunk)
private void
a(List<asi> arg0, dhi arg1, jh arg2, dxv 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)
tryUpdateBlockEntityAt(List<ServerPlayerEntity> players, World world, BlockPos pos, BlockState state)
private void
a(List<asi> arg0, dhi arg1, jh arg2)
broadcastBlockEntity(List<ServerPlayer> arg0, Level arg1, BlockPos arg2)
method_14009(List<class_3222> arg0, class_1937 arg1, class_2338 arg2)
sendBlockEntityUpdatePacket(List<ServerPlayerEntity> players, World world, BlockPos pos)
private void
a(List<asi> arg0, aac<?> arg1)
broadcast(List<ServerPlayer> arg0, Packet<?> arg1)
method_13992(List<class_3222> arg0, class_2596<?> arg1)
sendPacketToPlayers(List<ServerPlayerEntity> players, Packet<?> packet)
public int
j()
getTicketLevel()
method_14005()
getLevel()
public int
k()
getQueueLevel()
method_17208()
getCompletedLevel()
private void
b(int arg0)
setQueueLevel(int arg0)
method_17207(int arg0)
setCompletedLevel(int level)
public void
a(int arg0)
setTicketLevel(int arg0)
method_15890(int arg0)
setLevel(int level)
private void
a(arm arg0, CompletableFuture<arn<eaa>> arg1, Executor arg2, arw 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)
increaseLevel(ServerChunkLoadingManager chunkLoadingManager, CompletableFuture<OptionalChunk<WorldChunk>> chunkFuture, Executor executor, ChunkLevelType target)
private void
a(arm arg0, arw arg1)
demoteFullChunk(ChunkMap arg0, FullChunkStatus arg1)
method_31408(class_3898 arg0, class_3194 arg1)
decreaseLevel(ServerChunkLoadingManager chunkLoadingManager, ChunkLevelType target)
protected void
a(arm arg0, Executor arg1)
updateFutures(ChunkMap arg0, Executor arg1)
method_14007(class_3898 arg0, Executor arg1)
updateFutures(ServerChunkLoadingManager chunkLoadingManager, Executor executor)
public boolean
l()
wasAccessibleSinceLastSave()
method_20384()
isAccessible()
public void
m()
refreshAccessibility()
method_20385()
updateAccessibleStatus()