net.minecraft.client.multiplayer

public class ClientChunkCache

extends ChunkSource

All mapped superinterfaces:

LightChunkGetter

gfg
net.minecraft.client.multiplayer.ClientChunkCache
net.minecraft.class_631
net.minecraft.client.world.ClientChunkManager

Field summary

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

Constructor summary

ModifierConstructor
public (ClientLevel world, int loadDistance)

Method summary

Modifier and TypeMethod
public LevelLightEngine
p()
getLightEngine()
method_12130()
getLightingProvider()
private static boolean
a(eaa 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)
public void
a(dgo arg0)
drop(ChunkPos arg0)
method_2859(class_1923 arg0)
unload(ChunkPos pos)
public LevelChunk
b(int arg0, int arg1, ear 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)
public BlockGetter
q()
getLevel()
method_16399()
getWorld()
public void
a(int arg0, int arg1, ws arg2)
replaceBiomes(int arg0, int arg1, FriendlyByteBuf arg2)
method_49630(int arg0, int arg1, class_2540 arg2)
onChunkBiomeData(int x, int z, PacketByteBuf buf)
public LevelChunk
a(int arg0, int arg1, ws arg2, ux arg3, Consumer<aed$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)
public void
a(BooleanSupplier arg0, boolean arg1)
tick(BooleanSupplier arg0, boolean arg1)
method_12127(BooleanSupplier arg0, boolean arg1)
tick(BooleanSupplier arg0, 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)
public void
a(int arg0)
updateViewRadius(int arg0)
method_20180(int arg0)
updateLoadDistance(int loadDistance)
private static int
b(int arg0)
calculateStorageRange(int arg0)
method_20230(int arg0)
getChunkMapRadius(int loadDistance)
public String
e()
gatherStats()
method_12122()
getDebugString()
public int
j()
getLoadedChunksCount()
method_14151()
getLoadedChunkCount()
public void
a(dhr arg0, kj arg1)
onLightUpdate(LightLayer arg0, SectionPos arg1)
method_12247(class_1944 arg0, class_4076 arg1)
onLightUpdate(LightType arg0, ChunkSectionPos arg1)
public it.unimi.dsi.fastutil.longs.LongOpenHashSet
a()
getLoadedEmptySections()
method_62890()
getActiveSections()
public void
a(int arg0, int arg1, int arg2, boolean arg3)
onSectionEmptinessChanged(int arg0, int arg1, int arg2, boolean arg3)
method_62872(int arg0, int arg1, int arg2, boolean arg3)
onSectionStatusChanged(int arg0, int arg1, int arg2, boolean arg3)