net.minecraft.server.level

public class ChunkHolder

wo
net.minecraft.server.level.ChunkHolder
net.minecraft.class_3193
net.minecraft.server.world.ChunkHolder
net.minecraft.world.server.ChunkHolder
net.minecraft.server.v1_15_R1.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
borderFuture
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
future
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 final short[]
p
changedBlocks
field_13861
blockUpdatePositions
field_219320_o
dirtyBlocks
private int
q
changes
field_13874
blockUpdateCount
field_219321_p
dirtyCount
private int
r
changedSectionFilter
field_13872
sectionsNeedingUpdateMask
field_219322_q
private int
s
sectionsToForceSendLightFor
field_16209
lightSentWithBlocksBits
field_219323_r
private int
t
blockChangedLightSectionFilter
field_13871
blockLightUpdateBits
field_219324_s
private int
u
skyChangedLightSectionFilter
field_13870
skyLightUpdateBits
field_219325_t
private final LevelLightEngine
v
lightEngine
field_13863
lightingProvider
field_219326_u
lightEngine
private final ChunkHolder$LevelChangeListener
w
onLevelChange
field_17209
levelUpdateListener
field_219327_v
private final ChunkHolder$PlayerProvider
x
playerProvider
field_17210
playersWatchingChunkProvider
field_219328_w
players
private boolean
y
wasAccessibleSinceLastSave
field_19238
field_219329_x
hasBeenLoaded

Constructor summary

ModifierConstructor
public (ChunkPos pos, int level, LevelLightEngine arg2, ChunkHolder$LevelChangeListener arg3, ChunkHolder$PlayerProvider playersWatchingChunkProvider)

Method summary

Modifier and TypeMethod
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
a(cab arg0)
getFutureIfPresentUnchecked(ChunkStatus arg0)
method_16146(class_2806 arg0)
getFuture(ChunkStatus leastStatus)
func_219301_a(ChunkStatus arg0)
getStatusFutureUnchecked(ChunkStatus arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b(cab arg0)
getFutureIfPresent(ChunkStatus arg0)
method_21737(class_2806 arg0)
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()
func_223492_c()
public LevelChunk
d()
getTickingChunk()
method_16144()
getWorldChunk()
func_219298_c()
getChunk()
public ChunkAccess
f()
getLastAvailable()
method_14010()
getCompletedChunk()
func_219287_e()
public CompletableFuture<ChunkAccess>
g()
getChunkToSave()
method_14000()
getFuture()
func_219302_f()
getChunkSave()
public void
a(int arg0, int arg1, int arg2)
blockChanged(int arg0, int arg1, int arg2)
method_14002(int arg0, int arg1, int arg2)
markForBlockUpdate(int x, int y, int z)
func_219279_a(int arg0, int arg1, int arg2)
public void
a(bkc 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(cai arg0)
broadcastChanges(LevelChunk arg0)
method_14006(class_2818 arg0)
flushUpdates(WorldChunk arg0)
func_219274_a(Chunk arg0)
private void
a(bjt arg0, fk 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(lt<?> 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(cab arg0, wp arg1)
getOrScheduleFuture(ChunkStatus arg0, ChunkMap arg1)
method_13993(class_2806 arg0, class_3898 arg1)
createFuture(ChunkStatus targetStatus, ThreadedAnvilChunkStorage chunkStorage)
func_219276_a(ChunkStatus arg0, ChunkManager arg1)
private void
a(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends bzv, wo$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)
updateFuture(CompletableFuture<? extends com.mojang.datafixers.util.Either<? extends Chunk, ChunkHolder$Unloaded>> newChunkFuture)
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(wp 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)
getTargetGenerationStatus(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()
func_219289_k()
hasBeenLoaded()
public void
m()
refreshAccessibility()
method_20385()
func_219303_l()
public void
a(cah arg0)
replaceProtoChunk(ImposterProtoChunk arg0)
method_20456(class_2821 arg0)
func_219294_a(ChunkPrimerWrapper arg0)
public ChunkStatus
e()
getLastAvailableStatus()
method_23270()
func_219285_d()
public ChunkHolder$FullChunkStatus
h()
getFullStatus()
method_23271()
func_219300_g()