net.minecraft.server.level

public class ServerChunkCache

extends ChunkSource

All mapped superinterfaces:

LightChunkGetter

aae
net.minecraft.server.level.ServerChunkCache
net.minecraft.class_3215
net.minecraft.unmapped.C_ebcmvjwj
net.minecraft.server.world.ServerChunkManager
net.minecraft.world.server.ServerChunkProvider
net.minecraft.server.v1_16_R3.ChunkProviderServer

Field summary

Modifier and TypeField
private static final List<ChunkStatus>
b
CHUNK_STATUSES
field_13934
f_jwrjyshk
CHUNK_STATUSES
field_217239_c
private final DistanceManager
c
distanceManager
field_17252
f_ydkjshsp
ticketManager
field_217240_d
chunkMapDistance
private final ChunkGenerator
d
generator
field_13939
f_aprugaev
chunkGenerator
field_186029_c
chunkGenerator
private final ServerLevel
e
level
field_13945
f_obcjuaxe
world
field_73251_h
world
private final Thread
f
mainThread
field_17253
f_qtzeurch
serverThread
field_217241_g
serverThread
private final ThreadedLevelLightEngine
g
lightEngine
field_13921
f_wxlbdscx
lightProvider
field_217242_h
lightEngine
private final ServerChunkCache$MainThreadExecutor
h
mainThreadProcessor
field_18809
f_ixxxjgez
mainThreadExecutor
field_217243_i
serverThreadQueue
public final ChunkMap
a
chunkMap
field_17254
f_sxcfajbf
threadedAnvilChunkStorage
field_217237_a
playerChunkMap
private final DimensionDataStorage
i
dataStorage
field_17708
f_ihdjlbqp
persistentStateManager
field_217244_j
worldPersistentData
private long
j
lastInhabitedUpdate
field_13928
f_znyjhajj
lastMobSpawningTime
field_217245_k
lastTickTime
private boolean
k
spawnEnemies
field_13929
f_cbgdxedp
spawnMonsters
field_217246_l
allowMonsters
private boolean
l
spawnFriendlies
field_13941
f_hmdmznvi
spawnAnimals
field_217247_m
allowAnimals
private final long[]
m
lastChunkPos
field_19335
f_gbssytzr
chunkPosCache
field_222875_n
cachePos
private final ChunkStatus[]
n
lastChunkStatus
field_19336
f_zqqnrbsq
chunkStatusCache
field_222876_o
cacheStatus
private final ChunkAccess[]
o
lastChunk
field_19337
f_wbdhtwhc
chunkCache
field_222877_p
cacheChunk
private NaturalSpawner$SpawnState
p
lastSpawnState
field_24455
f_ooqjqvki
spawnEntry
field_241097_p_

Constructor summary

ModifierConstructor
public (ServerLevel arg0, LevelStorageSource$LevelStorageAccess arg1, com.mojang.datafixers.DataFixer dataFixer, StructureManager structureManager, Executor workerExecutor, ChunkGenerator chunkGenerator, int viewDistance, boolean arg7, ChunkProgressListener arg8, Supplier<DimensionDataStorage> arg9)

Method summary

Modifier and TypeMethod
public ThreadedLevelLightEngine
a()
getLightEngine()
method_17293()
m_jvjvyasi()
getLightingProvider()
func_212863_j_()
getLightEngine()
private ChunkHolder
a(long arg0)
getVisibleChunkIfPresent(long arg0)
method_14131(long arg0)
m_ilfskcor(long arg0)
getChunkHolder(long pos)
func_217213_a(long arg0)
getChunk(long arg0)
public int
b()
getTickingGenerated()
method_17301()
m_reddmdwx()
getTotalChunksLoadedCount()
func_217229_b()
private void
a(long arg0, cfw arg1, cga arg2)
storeInCache(long arg0, ChunkAccess arg1, ChunkStatus arg2)
method_21738(long arg0, class_2791 arg1, class_2806 arg2)
m_yvjnruii(long arg0, C_lwzmmmqr arg1, C_kogtzhzt arg2)
putInCache(long pos, Chunk chunk, ChunkStatus status)
func_225315_a(long arg0, IChunk arg1, ChunkStatus arg2)
public ChunkAccess
a(int arg0, int arg1, cga arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
method_12121(int arg0, int arg1, class_2806 arg2, boolean arg3)
m_frqbiuca(int arg0, int arg1, C_kogtzhzt arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
func_212849_a_(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
getChunkAt(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
public LevelChunk
a(int arg0, int arg1)
getChunkNow(int arg0, int arg1)
method_21730(int arg0, int arg1)
m_vajkroic(int arg0, int arg1)
getWorldChunk(int arg0, int arg1)
func_225313_a(int arg0, int arg1)
private void
n()
clearCache()
method_20587()
m_aoyxjkpt()
initChunkCaches()
func_222869_l()
clearCache()
private CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
c(int arg0, int arg1, cga arg2, boolean arg3)
getChunkFutureMainThread(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
method_14134(int arg0, int arg1, class_2806 arg2, boolean arg3)
m_hsnsljxf(int arg0, int arg1, C_kogtzhzt arg2, boolean arg3)
getChunkFuture(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
func_217233_c(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
getChunkFutureMainThread(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
private boolean
a(zr arg0, int arg1)
chunkAbsent(ChunkHolder arg0, int arg1)
method_18752(class_3193 arg0, int arg1)
m_fphgxitc(C_gkderdjo arg0, int arg1)
isMissingForLevel(ChunkHolder holder, int maxLevel)
func_217224_a(ChunkHolder arg0, int arg1)
public boolean
b(int arg0, int arg1)
hasChunk(int arg0, int arg1)
method_12123(int arg0, int arg1)
m_taszfhsc(int arg0, int arg1)
isChunkLoaded(int arg0, int arg1)
func_73149_a(int arg0, int arg1)
isLoaded(int arg0, int arg1)
public BlockGetter
c(int arg0, int arg1)
getChunkForLighting(int arg0, int arg1)
method_12246(int arg0, int arg1)
m_mvdyojzw(int arg0, int arg1)
getChunk(int arg0, int arg1)
func_217202_b(int arg0, int arg1)
public Level
c()
getLevel()
method_16434()
m_vzyywxzi()
getWorld()
func_212864_k_()
getWorld()
public boolean
d()
pollTask()
method_19492()
m_qiooziqr()
executeQueuedTasks()
func_217234_d()
runTasks()
private boolean
o()
runDistanceManagerUpdates()
method_16155()
m_nymxeyxj()
tick()
func_217235_l()
tickDistanceManager()
public boolean
a(aqa arg0)
isEntityTickingChunk(Entity arg0)
method_12125(class_1297 arg0)
m_xfbdiylu(C_astfners arg0)
shouldTickEntity(Entity arg0)
func_217204_a(Entity arg0)
public boolean
a(brd arg0)
isEntityTickingChunk(ChunkPos arg0)
method_20591(class_1923 arg0)
m_zmkabsod(C_ynrszrtu arg0)
shouldTickChunk(ChunkPos arg0)
func_222865_a(ChunkPos arg0)
public boolean
a(fx arg0)
isTickingChunk(BlockPos arg0)
method_20529(class_2338 arg0)
m_vykmrylv(C_hynzadkk arg0)
shouldTickBlock(BlockPos arg0)
func_222866_a(BlockPos arg0)
private boolean
a(long arg0, Function<zr, CompletableFuture<com.mojang.datafixers.util.Either<cgh, zr$a>>> arg1)
checkChunkFuture(long arg0, Function<ChunkHolder, CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk, ChunkHolder$ChunkLoadingFailure>>> arg1)
method_20585(long arg0, Function<class_3193, CompletableFuture<com.mojang.datafixers.util.Either<class_2818, class_3193$class_3724>>> arg1)
m_jzrcuvgn(long arg0, Function<C_gkderdjo, CompletableFuture<com.mojang.datafixers.util.Either<C_hrdsvlkq, C_gkderdjo$C_mnhcarhk>>> arg1)
isFutureReady(long pos, Function<ChunkHolder, CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk, ChunkHolder$Unloaded>>> futureFunction)
func_222872_a(long arg0, Function<ChunkHolder, CompletableFuture<com.mojang.datafixers.util.Either<Chunk, ChunkHolder$IChunkLoadingError>>> arg1)
public void
a(boolean arg0)
save(boolean arg0)
method_17298(boolean arg0)
m_dyvlbydm(boolean arg0)
save(boolean flush)
func_217210_a(boolean arg0)
save(boolean arg0)
public void
close()
close()
close()
close()
close()
public void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_12127(BooleanSupplier arg0)
m_spllcsfu(BooleanSupplier arg0)
tick(BooleanSupplier shouldKeepTicking)
func_217207_a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
private void
p()
tickChunks()
method_14161()
m_krolkpuz()
tickChunks()
func_217220_m()
tickChunks()
private void
a(long arg0, Consumer<cgh> arg1)
getFullChunk(long arg0, Consumer<LevelChunk> arg1)
method_27907(long arg0, Consumer<class_2818> arg1)
m_kpypddik(long arg0, Consumer<C_hrdsvlkq> arg1)
ifChunkLoaded(long pos, Consumer<WorldChunk> chunkConsumer)
func_241098_a_(long arg0, Consumer<Chunk> arg1)
public String
e()
gatherStats()
method_12122()
m_mhpjzrja()
getDebugString()
func_73148_d()
getName()
public int
f()
getPendingTasksCount()
method_21694()
m_iuemgshl()
getPendingTasks()
func_225314_f()
public ChunkGenerator
g()
getGenerator()
method_12129()
m_pqlghyyn()
getChunkGenerator()
func_201711_g()
getChunkGenerator()
public int
h()
getLoadedChunksCount()
method_14151()
m_qpvvitgb()
getLoadedChunkCount()
func_73152_e()
public void
b(fx arg0)
blockChanged(BlockPos arg0)
method_14128(class_2338 arg0)
m_kyogxysq(C_hynzadkk arg0)
markForUpdate(BlockPos pos)
func_217217_a(BlockPos arg0)
flagDirty(BlockPosition arg0)
public void
a(bsf arg0, gp arg1)
onLightUpdate(LightLayer arg0, SectionPos arg1)
method_12247(class_1944 arg0, class_4076 arg1)
m_gfdmyksh(C_fhvlmqtw arg0, C_zubvmeye arg1)
onLightUpdate(LightType arg0, ChunkSectionPos arg1)
func_217201_a(LightType arg0, SectionPos arg1)
public <T> void
a(aal<T> arg0, brd arg1, int arg2, T arg3)
addRegionTicket(TicketType<T> arg0, ChunkPos arg1, int arg2, T arg3)
method_17297(class_3230<T> arg0, class_1923 arg1, int arg2, T arg3)
m_udxevgvw(C_cuxhrvln<T> arg0, C_ynrszrtu arg1, int arg2, T arg3)
addTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)
func_217228_a(TicketType<T> arg0, ChunkPos arg1, int arg2, T arg3)
addTicket(TicketType<T> arg0, ChunkCoordIntPair arg1, int arg2, T arg3)
public <T> void
b(aal<T> arg0, brd arg1, int arg2, T arg3)
removeRegionTicket(TicketType<T> arg0, ChunkPos arg1, int arg2, T arg3)
method_17300(class_3230<T> arg0, class_1923 arg1, int arg2, T arg3)
m_txwjwdvi(C_cuxhrvln<T> arg0, C_ynrszrtu arg1, int arg2, T arg3)
removeTicket(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument)
func_217222_b(TicketType<T> arg0, ChunkPos arg1, int arg2, T arg3)
removeTicket(TicketType<T> arg0, ChunkCoordIntPair arg1, int arg2, T arg3)
public void
a(brd arg0, boolean arg1)
updateChunkForced(ChunkPos arg0, boolean arg1)
method_12124(class_1923 arg0, boolean arg1)
m_iknbhnav(C_ynrszrtu arg0, boolean arg1)
setChunkForced(ChunkPos arg0, boolean arg1)
func_217206_a(ChunkPos arg0, boolean arg1)
public void
a(aah arg0)
move(ServerPlayer arg0)
method_14096(class_3222 arg0)
m_oxbkyszn(C_mxrobsgg arg0)
updateCameraPosition(ServerPlayerEntity player)
func_217221_a(ServerPlayerEntity arg0)
movePlayer(EntityPlayer arg0)
public void
b(aqa arg0)
removeEntity(Entity arg0)
method_18753(class_1297 arg0)
m_yxbwpive(C_astfners arg0)
unloadEntity(Entity arg0)
func_217226_b(Entity arg0)
removeEntity(Entity arg0)
public void
c(aqa arg0)
addEntity(Entity arg0)
method_18755(class_1297 arg0)
m_dbjrpnkk(C_astfners arg0)
loadEntity(Entity arg0)
func_217230_c(Entity arg0)
addEntity(Entity arg0)
public void
a(aqa arg0, oj<?> arg1)
broadcastAndSend(Entity arg0, Packet<?> arg1)
method_18751(class_1297 arg0, class_2596<?> arg1)
m_ygtjllyp(C_astfners arg0, C_zyjtrjrl<?> arg1)
sendToNearbyPlayers(Entity entity, Packet<?> packet)
func_217216_a(Entity arg0, IPacket<?> arg1)
broadcastIncludingSelf(Entity arg0, Packet<?> arg1)
public void
b(aqa arg0, oj<?> arg1)
broadcast(Entity arg0, Packet<?> arg1)
method_18754(class_1297 arg0, class_2596<?> arg1)
m_mdptitzk(C_astfners arg0, C_zyjtrjrl<?> arg1)
sendToOtherNearbyPlayers(Entity arg0, Packet<?> arg1)
func_217218_b(Entity arg0, IPacket<?> arg1)
broadcast(Entity arg0, Packet<?> arg1)
public void
a(int arg0)
setViewDistance(int arg0)
method_14144(int arg0)
m_aspyldja(int arg0)
applyViewDistance(int watchDistance)
func_217219_a(int arg0)
setViewDistance(int arg0)
public void
a(boolean arg0, boolean arg1)
setSpawnSettings(boolean arg0, boolean arg1)
method_12128(boolean arg0, boolean arg1)
m_gspauptw(boolean arg0, boolean arg1)
setMobSpawnOptions(boolean arg0, boolean arg1)
func_217203_a(boolean arg0, boolean arg1)
public DimensionDataStorage
i()
getDataStorage()
method_17981()
m_rhpijjnc()
getPersistentStateManager()
func_217227_h()
getWorldPersistentData()
public PoiManager
j()
getPoiManager()
method_19493()
m_kzjxxowq()
getPointOfInterestStorage()
func_217231_i()
public NaturalSpawner$SpawnState
k()
getLastSpawnState()
method_27908()
m_pcqpeovk()
getSpawnInfo()
func_241101_k_()
public CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess, ChunkHolder$ChunkLoadingFailure>>
b(int arg0, int arg1, cga arg2, boolean arg3)
getChunkFuture(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
method_17299(int arg0, int arg1, class_2806 arg2, boolean arg3)
m_jgyqtgrc(int arg0, int arg1, C_kogtzhzt arg2, boolean arg3)
getChunkFutureSyncOnMainThread(int chunkX, int chunkZ, ChunkStatus leastStatus, boolean create)
func_217232_b(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
public String
b(brd arg0)
getChunkDebugData(ChunkPos arg0)
method_23273(class_1923 arg0)
m_lfwksham(C_ynrszrtu arg0)
getChunkLoadingDebugInfo(ChunkPos arg0)
func_217208_a(ChunkPos arg0)