We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 186c324 commit af45da8Copy full SHA for af45da8
src/main/kotlin/com/lambda/client/module/modules/render/NewChunks.kt
@@ -338,6 +338,22 @@ object NewChunks : Module(
338
return Vec2d((x shl 4).toDouble(), (z shl 4).toDouble()).minus(playerOffset).div(scale.toDouble())
339
}
340
341
+ fun getChunks(): ConcurrentHashMap<ChunkPos, Long> {
342
+ return chunks
343
+ }
344
+
345
+ fun addChunk(chunk: ChunkPos) {
346
+ chunks[chunk] = System.currentTimeMillis()
347
348
349
+ fun addChunk(chunk: ChunkPos, time: Long) {
350
+ chunks[chunk] = time
351
352
353
+ fun removeChunk(chunk: ChunkPos) {
354
+ chunks.remove(chunk)
355
356
357
private fun saveNewChunk(log: PrintWriter?, data: String) {
358
log!!.println(data)
359
0 commit comments