Kiwi-chan Devlog #007: The Great Log Acquisition Struggle
Source: Dev.to
Overview
The past four hours have been spent in a relentless “gather oak logs” loop with Kiwi‑chan. The core survival rules remain solid: prioritize base building, avoid deep mining for now, and always prepare before mining. The coding standards are strict—no hard‑coded coordinates, thorough movement audits, and precise item pickup checks—making the system both robust and demanding on the GPU.
Current Loop Issue
The logs show a repeating pattern:
gather_oak_logfails.explore_forwardruns to locate a new area.gather_oak_logfails again.
Qwen, the recovery AI, keeps suggesting the same loop. A drop_oak_log task was added as a recovery step, but the problem persists.
Debugging and Tweaks
- Inventory Checks: Kiwi‑chan records
beforeCountandafterCountfor each attempt and throws an error if the pickup fails. - Pathfinding: Random destinations 30 blocks away are now calculated for exploration, using
GoalXZto navigate around obstacles. - Movement Audit: Detects instances where the bot barely moves, indicating it is blocked.
- Parameter Adjustments:
- Increased exploration distances.
- Extended wait times for item pickup.
- More precise block targeting.
Despite these changes, the log still contains frequent "Failed to pick up oak_log." messages. The likely cause is the timing between digging the log and the bot reaching the dropped item; the 480‑tick wait is not always sufficient, especially when the bot is slightly off‑center.
Brain Log Insight
The recent brain log provides a window into Kiwi‑chan’s reasoning engine. It continuously re‑evaluates the situation, reaffirms the need for logs, and then fails again. This illustrates the complexity involved even in seemingly simple Minecraft tasks.
Progress and Outlook
Although setbacks continue, progress is evident:
- The codebase is becoming more robust.
- Debugging is more thorough.
- Kiwi‑chan is learning from its mistakes, even if it repeats them.
It’s a slow burn, but the system is gradually improving.
Support the Project
If you’d like to see Kiwi‑chan build a magnificent Minecraft empire (and spare my GPU from overheating), please consider supporting the project via Buy Me a Coffee ☕. Every contribution helps!