net.minecraft.client.multiplayer

public class ClientChunkCache

extends ChunkSource

All mapped superinterfaces:

LightChunkGetter

fno
net.minecraft.client.multiplayer.ClientChunkCache
net.minecraft.class_631
net.minecraft.client.world.ClientChunkManager
net.minecraft.src.C_3895_

Field summary

Modifier and TypeField
static final org.slf4j.Logger
a
LOGGER
field_3679
LOGGER
f_104407_
private final LevelChunk
b
emptyChunk
field_3676
emptyChunk
f_104408_
private final LevelLightEngine
c
lightEngine
field_3677
lightingProvider
f_104409_
volatile ClientChunkCache$Storage
d
storage
field_16246
chunks
f_104410_
final ClientLevel
e
level
field_16525
world
f_104411_

Constructor summary

ModifierConstructor
public (ClientLevel world, int loadDistance)

Method summary

Modifier and TypeMethod
public LevelLightEngine
p()
getLightEngine()
method_12130()
getLightingProvider()
m_7827_()
private static boolean
a(dlo arg0, int arg1, int arg2)
isValidChunk(LevelChunk arg0, int arg1, int arg2)
method_20181(class_2818 arg0, int arg1, int arg2)
positionEquals(WorldChunk chunk, int x, int z)
m_104438_(C_2137_ p_104439_, int p_104440_, int p_104441_)
public void
a(csw arg0)
drop(ChunkPos arg0)
method_2859(class_1923 arg0)
unload(ChunkPos pos)
m_104455_(C_1560_ arg0)
public LevelChunk
b(int arg0, int arg1, dli arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
method_2857(int arg0, int arg1, class_2806 arg2, boolean arg3)
getChunk(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
m_7587_(int p_104452_, int p_104453_, C_2126_ p_104454_, boolean arg3)
public BlockGetter
q()
getLevel()
method_16399()
getWorld()
m_7653_()
public void
a(int arg0, int arg1, ui arg2)
replaceBiomes(int arg0, int arg1, FriendlyByteBuf arg2)
method_49630(int arg0, int arg1, class_2540 arg2)
onChunkBiomeData(int x, int z, PacketByteBuf buf)
m_274444_(int p_275226_, int p_275745_, C_4983_ arg2)
public LevelChunk
a(int arg0, int arg1, ui arg2, sn arg3, Consumer<aaj$b> arg4)
replaceWithPacketData(int arg0, int arg1, FriendlyByteBuf arg2, CompoundTag arg3, Consumer<ClientboundLevelChunkPacketData$BlockEntityTagOutput> arg4)
method_16020(int arg0, int arg1, class_2540 arg2, class_2487 arg3, Consumer<class_6603$class_6605> arg4)
loadChunkFromPacket(int x, int z, PacketByteBuf buf, NbtCompound nbt, Consumer<ChunkData$BlockEntityVisitor> arg4)
m_194116_(int p_194118_, int p_194119_, C_4983_ p_194120_, C_4917_ p_194121_, Consumer<C_183117_$C_183119_> arg4)
public void
a(BooleanSupplier arg0, boolean arg1)
tick(BooleanSupplier arg0, boolean arg1)
method_12127(BooleanSupplier arg0, boolean arg1)
tick(BooleanSupplier arg0, boolean arg1)
m_201698_(BooleanSupplier p_202422_, boolean arg1)
public void
d(int arg0, int arg1)
updateViewCenter(int arg0, int arg1)
method_20317(int arg0, int arg1)
setChunkMapCenter(int x, int z)
m_104459_(int p_104461_, int arg1)
public void
a(int arg0)
updateViewRadius(int arg0)
method_20180(int arg0)
updateLoadDistance(int loadDistance)
m_104416_(int arg0)
private static int
b(int arg0)
calculateStorageRange(int arg0)
method_20230(int arg0)
getChunkMapRadius(int loadDistance)
m_104448_(int p_104449_)
public String
e()
gatherStats()
method_12122()
getDebugString()
m_6754_()
public int
j()
getLoadedChunksCount()
method_14151()
getLoadedChunkCount()
m_8482_()
public void
a(cty arg0, iz arg1)
onLightUpdate(LightLayer arg0, SectionPos arg1)
method_12247(class_1944 arg0, class_4076 arg1)
onLightUpdate(LightType arg0, ChunkSectionPos arg1)
m_6506_(C_1607_ p_104437_, C_4710_ arg1)