net.minecraft.server.level

public class ChunkHolder

zr
net.minecraft.server.level.ChunkHolder
net.minecraft.class_3193
net.minecraft.server.world.ChunkHolder
net.minecraft.world.server.ChunkHolder
net.minecraft.server.v1_16_R3.PlayerChunk

Field summary

Modifier and TypeField
public static final com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>
a
UNLOADED_CHUNK
field_16426
UNLOADED_CHUNK
field_219306_a
UNLOADED_CHUNK_ACCESS
public static final CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b
UNLOADED_CHUNK_FUTURE
field_16430
UNLOADED_CHUNK_FUTURE
field_219307_b
UNLOADED_CHUNK_ACCESS_FUTURE
public static final com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>
c
UNLOADED_LEVEL_CHUNK
field_16427
UNLOADED_WORLD_CHUNK
field_219308_c
UNLOADED_CHUNK
private static final CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
d
UNLOADED_LEVEL_CHUNK_FUTURE
field_16429
UNLOADED_WORLD_CHUNK_FUTURE
field_219309_d
UNLOADED_CHUNK_FUTURE
private static final List<ChunkStatus>
e
CHUNK_STATUSES
field_13868
CHUNK_STATUSES
field_219310_e
CHUNK_STATUSES
private static final ChunkHolder$FullChunkStatus[]
f
FULL_CHUNK_STATUSES
field_13873
LEVEL_TYPES
field_219311_f
CHUNK_STATES
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>>
g
futures
field_16425
futuresByStatus
field_219312_g
statusFutures
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
h
fullChunkFuture
field_16431
accessibleFuture
field_222983_h
fullChunkFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
i
tickingChunkFuture
field_19333
tickingFuture
field_219313_h
tickingFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
j
entityTickingChunkFuture
field_13865
entityTickingFuture
field_219314_i
entityTickingFuture
private CompletableFuture<ChunkAccess>
k
chunkToSave
field_16428
savingFuture
field_219315_j
chunkSave
private int
l
oldTicketLevel
field_16432
lastTickLevel
field_219316_k
oldTicketLevel
private int
m
ticketLevel
field_13862
level
field_219317_l
ticketLevel
private int
n
queueLevel
field_17208
completedLevel
field_219318_m
private final ChunkPos
o
pos
field_13864
pos
field_219319_n
location
private boolean
p
hasChangedSections
field_25803
pendingBlockUpdates
field_244382_p
private final it.unimi.dsi.fastutil.shorts.ShortSet[]
q
changedBlocksPerSection
field_25804
blockUpdatesBySection
field_244383_q
dirtyBlocks
private int
r
blockChangedLightSectionFilter
field_13871
blockLightUpdateBits
field_219324_s
private int
s
skyChangedLightSectionFilter
field_13870
skyLightUpdateBits
field_219325_t
private final LevelLightEngine
t
lightEngine
field_13863
lightingProvider
field_219326_u
lightEngine
private final ChunkHolder$LevelChangeListener
u
onLevelChange
field_17209
levelUpdateListener
field_219327_v
private final ChunkHolder$PlayerProvider
v
playerProvider
field_17210
playersWatchingChunkProvider
field_219328_w
players
private boolean
w
wasAccessibleSinceLastSave
field_19238
accessible
field_219329_x
hasBeenLoaded
private boolean
x
resendLight
field_26744
field_26744
field_244384_x

Constructor summary

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

Method summary

Modifier and TypeMethod
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(cga arg0)
getFutureIfPresentUnchecked(ChunkStatus arg0)
method_16146(class_2806 arg0)
getFutureFor(ChunkStatus leastStatus)
func_219301_a(ChunkStatus arg0)
getStatusFutureUnchecked(ChunkStatus arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b(cga arg0)
getFutureIfPresent(ChunkStatus arg0)
method_21737(class_2806 arg0)
getValidFutureFor(ChunkStatus leastStatus)
func_225410_b(ChunkStatus arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
a()
getTickingChunkFuture()
method_16145()
getTickingFuture()
func_219296_a()
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
b()
getEntityTickingChunkFuture()
method_14003()
getEntityTickingFuture()
func_219297_b()
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
c()
getFullChunkFuture()
method_20725()
getAccessibleFuture()
func_223492_c()
public LevelChunk
d()
getTickingChunk()
method_16144()
getWorldChunk()
func_219298_c()
getChunk()
public ChunkAccess
f()
getLastAvailable()
method_14010()
getCurrentChunk()
func_219287_e()
public CompletableFuture<ChunkAccess>
g()
getChunkToSave()
method_14000()
getSavingFuture()
func_219302_f()
getChunkSave()
public void
a(fx arg0)
blockChanged(BlockPos arg0)
method_14002(class_2338 arg0)
markForBlockUpdate(BlockPos arg0)
func_244386_a(BlockPos arg0)
public void
a(bsf arg0, int arg1)
sectionLightChanged(LightLayer arg0, int arg1)
method_14012(class_1944 arg0, int arg1)
markForLightUpdate(LightType type, int y)
func_219280_a(LightType arg0, int arg1)
public void
a(cgh arg0)
broadcastChanges(LevelChunk arg0)
method_14006(class_2818 arg0)
flushUpdates(WorldChunk chunk)
func_219274_a(Chunk arg0)
private void
a(brx arg0, fx arg1, ceh arg2)
broadcastBlockEntityIfNeeded(Level arg0, BlockPos arg1, BlockState arg2)
method_30311(class_1937 arg0, class_2338 arg1, class_2680 arg2)
tryUpdateBlockEntityAt(World arg0, BlockPos arg1, BlockState arg2)
func_244385_a(World arg0, BlockPos arg1, BlockState arg2)
private void
a(brx arg0, fx arg1)
broadcastBlockEntity(Level arg0, BlockPos arg1)
method_14009(class_1937 arg0, class_2338 arg1)
sendBlockEntityUpdatePacket(World world, BlockPos pos)
func_219305_a(World arg0, BlockPos arg1)
private void
a(oj<?> arg0, boolean arg1)
broadcast(Packet<?> arg0, boolean arg1)
method_13992(class_2596<?> arg0, boolean arg1)
sendPacketToPlayersWatching(Packet<?> arg0, boolean onlyOnWatchDistanceEdge)
func_219293_a(IPacket<?> arg0, boolean arg1)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(cga arg0, zs arg1)
getOrScheduleFuture(ChunkStatus arg0, ChunkMap arg1)
method_13993(class_2806 arg0, class_3898 arg1)
getChunkAt(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage)
func_219276_a(ChunkStatus arg0, ChunkManager arg1)
private void
a(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends cfw, zr$a>> arg0)
updateChunkToSave(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends ChunkAccess, ChunkHolder$ChunkLoadingFailure>> arg0)
method_16143(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends class_2791, class_3193$class_3724>> arg0)
combineSavingFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder$Unloaded>> then)
func_219284_a(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends IChunk, ChunkHolder$IChunkLoadingError>> arg0)
public ChunkPos
i()
getPos()
method_13994()
getPos()
func_219277_h()
public int
j()
getTicketLevel()
method_14005()
getLevel()
func_219299_i()
getTicketLevel()
public int
k()
getQueueLevel()
method_17208()
getCompletedLevel()
func_219281_j()
private void
d(int arg0)
setQueueLevel(int arg0)
method_17207(int arg0)
setCompletedLevel(int level)
func_219275_d(int arg0)
public void
a(int arg0)
setTicketLevel(int arg0)
method_15890(int arg0)
setLevel(int level)
func_219292_a(int arg0)
protected void
a(zs arg0)
updateFutures(ChunkMap arg0)
method_14007(class_3898 arg0)
tick(ThreadedAnvilChunkStorage chunkStorage)
func_219291_a(ChunkManager arg0)
public static ChunkStatus
b(int arg0)
getStatus(int arg0)
method_14011(int arg0)
getTargetStatusForLevel(int level)
func_219278_b(int arg0)
getChunkStatus(int arg0)
public static ChunkHolder$FullChunkStatus
c(int arg0)
getFullChunkStatus(int arg0)
method_14008(int arg0)
getLevelType(int distance)
func_219286_c(int arg0)
getChunkState(int arg0)
public boolean
l()
wasAccessibleSinceLastSave()
method_20384()
isAccessible()
func_219289_k()
hasBeenLoaded()
public void
m()
refreshAccessibility()
method_20385()
updateAccessibleStatus()
func_219303_l()
public void
a(cgg arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_20456(class_2821 arg0)
setCompletedChunk(ReadOnlyChunk arg0)
func_219294_a(ChunkPrimerWrapper arg0)
public ChunkStatus
e()
getLastAvailableStatus()
method_23270()
getCurrentStatus()
func_219285_d()
public ChunkHolder$FullChunkStatus
h()
getFullStatus()
method_23271()
getLevelType()
func_219300_g()