merge chunk updates
This commit is contained in:
@@ -59,7 +59,7 @@ To make the client transition seamless and prevent loading/rendering glitches, F
|
||||
|
||||
| Cache Component | Monitored Packets & Data | Eviction / Strategy |
|
||||
| :--- | :--- | :--- |
|
||||
| **Chunks** | `map_chunk`, `update_light`, `unload_chunk`, `block_change`, `multi_block_change` | LRU cache (default max 1024 chunks) with active block change overlays. |
|
||||
| **Chunks** | `map_chunk`, `update_light`, `unload_chunk`, `block_change`, `multi_block_change` | LRU cache (default max 1024 chunks); block and light updates merged into cached `map_chunk` columns. |
|
||||
| **Entities** | `spawn_entity`, `entity_metadata`, `entity_equipment`, `entity_effect`, `set_passengers`, `entity_destroy`, relative movements / teleports | Tracks positions, gear, mounts, and status effects. |
|
||||
| **Player State** | `login`, `position`, `update_health`, `experience`, `abilities`, `difficulty`, `respawn` | Caches player attributes to sync client UI and positioning. |
|
||||
| **Inventory** | `window_items`, `set_slot`, `held_item_slot`, `set_player_inventory`, `set_cursor_item` | Captures open container, inventory contents, and hand slots. |
|
||||
@@ -107,7 +107,8 @@ Copy the template structure and configure your parameters in `config.json` in th
|
||||
* **`proxy`**: Local proxy server settings.
|
||||
* `onlineMode`: If true, proxy checks Mojang authentication for incoming clients (requires client to match bot username or have appropriate credentials depending on target server configuration). Set to `false` for simple local offline-mode connections.
|
||||
* **`bot`**: Bot behavior settings.
|
||||
* `antiAfk`: Keeps the bot moving or performing minor actions so it doesn't get kicked for inactivity.
|
||||
* `antiAfk`: When no client is connected, randomly turns, sneaks, and swings so the bot stays active.
|
||||
* `antiAfkMinInterval` / `antiAfkMaxInterval`: Milliseconds between idle actions (default 1500–6000).
|
||||
* **`cache`**: Memory usage controls for caching the world.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user