类 ClientChunkCache.Storage
java.lang.Object
net.minecraft.client.multiplayer.ClientChunkCache.Storage
- 封闭类:
ClientChunkCache
-
字段概要
字段修饰符和类型字段说明(专用程序包) int
(专用程序包) final int
(专用程序包) final AtomicReferenceArray
<LevelChunk> (专用程序包) final it.unimi.dsi.fastutil.longs.LongOpenHashSet
(专用程序包) int
(专用程序包) int
private final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
addEmptySections
(LevelChunk p_362756_) (专用程序包) void
drop
(int p_363490_, LevelChunk p_364643_) private void
dropEmptySections
(LevelChunk p_364563_) private void
dumpChunks
(String p_171623_) protected LevelChunk
getChunk
(int p_104480_) (专用程序包) int
getIndex
(int p_104482_, int p_104483_) (专用程序包) boolean
inRange
(int p_104501_, int p_104502_) void
onSectionEmptinessChanged
(int p_366132_, int p_369453_, int p_368987_, boolean p_370106_) (专用程序包) void
refreshEmptySections
(LevelChunk p_377131_) (专用程序包) void
replace
(int p_104485_, LevelChunk p_104486_)
-
字段详细资料
-
chunks
-
loadedEmptySections
final it.unimi.dsi.fastutil.longs.LongOpenHashSet loadedEmptySections -
chunkRadius
final int chunkRadius -
viewRange
private final int viewRange -
viewCenterX
volatile int viewCenterX -
viewCenterZ
volatile int viewCenterZ -
chunkCount
int chunkCount
-
-
构造器详细资料
-
Storage
Storage(int p_104474_)
-
-
方法详细资料
-
getIndex
int getIndex(int p_104482_, int p_104483_) -
replace
-
drop
-
onSectionEmptinessChanged
public void onSectionEmptinessChanged(int p_366132_, int p_369453_, int p_368987_, boolean p_370106_) -
dropEmptySections
-
addEmptySections
-
refreshEmptySections
-
inRange
boolean inRange(int p_104501_, int p_104502_) -
getChunk
-
dumpChunks
-