Package net.minecraft.client.multiplayer
Class ClientChunkCache.Storage
java.lang.Object
net.minecraft.client.multiplayer.ClientChunkCache.Storage
- Enclosing class:
- ClientChunkCache
-
Field Summary
Modifier and TypeFieldDescription(package private) int
(package private) int
(package private) AtomicReferenceArray<LevelChunk>
(package private) int
(package private) int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
dumpChunks(String p_171623_)
protected LevelChunk
getChunk(int p_104480_)
(package private) int
getIndex(int p_104482_, int p_104483_)
(package private) boolean
inRange(int p_104501_, int p_104502_)
protected void
replace(int p_104485_, LevelChunk p_104486_)
protected LevelChunk
replace(int p_104488_, LevelChunk p_104489_, LevelChunk p_104490_)
-
Field Details
-
chunks
-
chunkRadius
final int chunkRadius -
viewRange
private final int viewRange -
viewCenterX
volatile int viewCenterX -
viewCenterZ
volatile int viewCenterZ -
chunkCount
int chunkCount
-
-
Constructor Details
-
Storage
Storage(int p_104474_)
-
-
Method Details
-
getIndex
int getIndex(int p_104482_, int p_104483_) -
replace
-
replace
-
inRange
boolean inRange(int p_104501_, int p_104502_) -
getChunk
-
dumpChunks
-