net.minecraft.server.level

public class ChunkHolder

zr
net.minecraft.server.level.ChunkHolder
net.minecraft.class_3193
net.minecraft.unmapped.C_gkderdjo
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
f_hkgaunht
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
f_iakyvyty
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
f_sftixqgk
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
f_gxxqfxop
UNLOADED_WORLD_CHUNK_FUTURE
field_219309_d
UNLOADED_CHUNK_FUTURE
private static final List<ChunkStatus>
e
CHUNK_STATUSES
field_13868
f_ikseepcu
CHUNK_STATUSES
field_219310_e
CHUNK_STATUSES
private static final ChunkHolder$FullChunkStatus[]
f
FULL_CHUNK_STATUSES
field_13873
f_siegpkpk
LEVEL_TYPES
field_219311_f
CHUNK_STATES
private final AtomicReferenceArray<CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>>
g
futures
field_16425
f_imueocvc
futuresByStatus
field_219312_g
statusFutures
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
h
fullChunkFuture
field_16431
f_pudkanic
accessibleFuture
field_222983_h
fullChunkFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
i
tickingChunkFuture
field_19333
f_lbtnztml
tickingFuture
field_219313_h
tickingFuture
private volatile CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
j
entityTickingChunkFuture
field_13865
f_ecmqijre
entityTickingFuture
field_219314_i
entityTickingFuture
private CompletableFuture<ChunkAccess>
k
chunkToSave
field_16428
f_hrvezlqv
savingFuture
field_219315_j
chunkSave
private int
l
oldTicketLevel
field_16432
f_tyworwzc
lastTickLevel
field_219316_k
oldTicketLevel
private int
m
ticketLevel
field_13862
f_omdiodzh
level
field_219317_l
ticketLevel
private int
n
queueLevel
field_17208
f_nfzawtue
completedLevel
field_219318_m
private final ChunkPos
o
pos
field_13864
f_doxykbcb
pos
field_219319_n
location
private boolean
p
hasChangedSections
field_25803
f_xbnfbbja
pendingBlockUpdates
field_244382_p
private final it.unimi.dsi.fastutil.shorts.ShortSet[]
q
changedBlocksPerSection
field_25804
f_sgkyxjdx
blockUpdatesBySection
field_244383_q
dirtyBlocks
private int
r
blockChangedLightSectionFilter
field_13871
f_qfmkgtss
blockLightUpdateBits
field_219324_s
private int
s
skyChangedLightSectionFilter
field_13870
f_elnsgicl
skyLightUpdateBits
field_219325_t
private final LevelLightEngine
t
lightEngine
field_13863
f_peybckli
lightingProvider
field_219326_u
lightEngine
private final ChunkHolder$LevelChangeListener
u
onLevelChange
field_17209
f_lilcuhvx
levelUpdateListener
field_219327_v
private final ChunkHolder$PlayerProvider
v
playerProvider
field_17210
f_ynuhroyt
playersWatchingChunkProvider
field_219328_w
players
private boolean
w
wasAccessibleSinceLastSave
field_19238
f_tbnmoxhy
accessible
field_219329_x
hasBeenLoaded
private boolean
x
resendLight
field_26744
f_iwnfgrud
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)
m_wgdopzjl(C_kogtzhzt 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)
m_csdoluin(C_kogtzhzt arg0)
getValidFutureFor(ChunkStatus leastStatus)
func_225410_b(ChunkStatus arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
a()
getTickingChunkFuture()
method_16145()
m_kgzokvvv()
getTickingFuture()
func_219296_a()
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
b()
getEntityTickingChunkFuture()
method_14003()
m_lqtjurpe()
getEntityTickingFuture()
func_219297_b()
public CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>
c()
getFullChunkFuture()
method_20725()
m_gjochkby()
getAccessibleFuture()
func_223492_c()
public LevelChunk
d()
getTickingChunk()
method_16144()
m_rllpjhva()
getWorldChunk()
func_219298_c()
getChunk()
public ChunkAccess
f()
getLastAvailable()
method_14010()
m_feqdkjyf()
getCurrentChunk()
func_219287_e()
public CompletableFuture<ChunkAccess>
g()
getChunkToSave()
method_14000()
m_wtdofwbi()
getSavingFuture()
func_219302_f()
getChunkSave()
public void
a(fx arg0)
blockChanged(BlockPos arg0)
method_14002(class_2338 arg0)
m_zuqnnazp(C_hynzadkk 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)
m_mlibztsg(C_fhvlmqtw 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)
m_ucfsyfpl(C_hrdsvlkq 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)
m_upbtkato(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp 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)
m_rpqawkcj(C_cdctfzbn arg0, C_hynzadkk 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)
m_hqvrbhfi(C_zyjtrjrl<?> 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)
m_qyvyszic(C_kogtzhzt arg0, C_gxrpzacc 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)
m_vhzzqiww(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends C_lwzmmmqr, C_gkderdjo$C_mnhcarhk>> 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()
m_jftlwgce()
getPos()
func_219277_h()
public int
j()
getTicketLevel()
method_14005()
m_gavtlnfz()
getLevel()
func_219299_i()
getTicketLevel()
public int
k()
getQueueLevel()
method_17208()
m_oiirrjzd()
getCompletedLevel()
func_219281_j()
private void
d(int arg0)
setQueueLevel(int arg0)
method_17207(int arg0)
m_ksnbkgsf(int arg0)
setCompletedLevel(int level)
func_219275_d(int arg0)
public void
a(int arg0)
setTicketLevel(int arg0)
method_15890(int arg0)
m_cjbyykuq(int arg0)
setLevel(int level)
func_219292_a(int arg0)
protected void
a(zs arg0)
updateFutures(ChunkMap arg0)
method_14007(class_3898 arg0)
m_hjqqoeij(C_gxrpzacc arg0)
tick(ThreadedAnvilChunkStorage chunkStorage)
func_219291_a(ChunkManager arg0)
public static ChunkStatus
b(int arg0)
getStatus(int arg0)
method_14011(int arg0)
m_jnwkwjsf(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)
m_ofeohdyl(int arg0)
getLevelType(int distance)
func_219286_c(int arg0)
getChunkState(int arg0)
public boolean
l()
wasAccessibleSinceLastSave()
method_20384()
m_wimfsfkf()
isAccessible()
func_219289_k()
hasBeenLoaded()
public void
m()
refreshAccessibility()
method_20385()
m_zmvaaivo()
updateAccessibleStatus()
func_219303_l()
public void
a(cgg arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_20456(class_2821 arg0)
m_llqjdhut(C_riffdstx arg0)
setCompletedChunk(ReadOnlyChunk arg0)
func_219294_a(ChunkPrimerWrapper arg0)
public ChunkStatus
e()
getLastAvailableStatus()
method_23270()
m_cddxmksj()
getCurrentStatus()
func_219285_d()
public ChunkHolder$FullChunkStatus
h()
getFullStatus()
method_23271()
m_joqyazoy()
getLevelType()
func_219300_g()