net.minecraft.client.multiplayer

public class ClientChunkCache

extends ChunkSource

All mapped superinterfaces:

LightChunkGetter

ejg
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.apache.logging.log4j.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
l()
getLightEngine()
method_12130()
getLightingProvider()
m_7827_()
getLightEngine()
private static boolean
a(cmx 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
d(int arg0, int arg1)
drop(int arg0, int arg1)
method_2859(int arg0, int arg1)
unload(int chunkX, int chunkZ)
m_104455_(int p_104457_, int arg1)
public LevelChunk
b(int arg0, int arg1, cmq 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)
getChunkAt(int arg0, int arg1, ChunkStatus arg2, boolean arg3)
public BlockGetter
m()
getLevel()
method_16399()
getWorld()
m_7653_()
getWorld()
public LevelChunk
a(int arg0, int arg1, cmn arg2, og arg3, na arg4, BitSet arg5)
replaceWithPacketData(int arg0, int arg1, ChunkBiomeContainer arg2, FriendlyByteBuf arg3, CompoundTag arg4, BitSet arg5)
method_16020(int arg0, int arg1, class_4548 arg2, class_2540 arg3, class_2487 arg4, BitSet arg5)
loadChunkFromPacket(int x, int z, BiomeArray biomes, PacketByteBuf buf, NbtCompound nbt, BitSet arg5)
m_171615_(int p_171617_, int p_171618_, C_2117_ p_171619_, C_4983_ p_171620_, C_4917_ p_171621_, BitSet arg5)
public void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_12127(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
m_142483_(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
public void
e(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_()
getName()
public int
h()
getLoadedChunksCount()
method_14151()
getLoadedChunkCount()
m_142061_()
public void
a(bwz arg0, gz 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)