0

Static Auditing Minecraft AI Mods & Sizing Local Ollama VRAM (Verity JE 6.0.0 / Bedrock)

Connecting a local LLM to a live 3D game like Minecraft exposes practical engineering constraints that rarely appear in standalone chat UIs. While building an independent multilingual setup reference and diagnostic toolkit for Minecraft Verity Mod (veritymod.org), three recurring engineering issues stood out:

  1. Unofficial re-upload mirrors advertising wrong mod loaders (e.g., claiming Fabric/NeoForge when official Verity JE 6.0.0 actually targets Forge 1.20.1 on CurseForge #1591438 and Modrinth verity-je-official).
  2. GPU VRAM contention when Ollama shares an 6-8 GB GPU with Minecraft chunk rendering and shaders.
  3. Accidental API key leaks when players paste raw latest.log files containing Groq, OpenRouter, or Gemini keys into Discord or Reddit support threads.

1. Direct Local Ollama Endpoint vs. Shared GPU Headroom

Verity JE 6.0.0 talks directly to a local Ollama server at http://127.0.0.1:11434 without requiring an external LiteLLM proxy. That eliminates proxy latency, but introduces a classic memory trap:

GPU VRAM Minecraft + Shaders Budget Recommended Local Model Notes
6 GB ~2.0–2.5 GB qwen3:4b-instruct (Q4) Avoids spilling layers to system RAM
8 GB ~2.5–3.0 GB qwen3:4b-instruct / qwen3.5:4b Keep context window bounded for stable FPS
12 GB+ ~3.0 GB qwen3:8b Smooth concurrent inference and rendering

Full hardware sizing tables and configuration walkthroughs (plus Groq / OpenRouter / Termux WebSocket fallback setups) are documented in the Verity Mod Ollama Setup Guide.

2. Offline Static Auditing of .jar and .mcaddon Packages

To let players verify downloaded archives before dropping them into mods/ or Bedrock behavior packs—without executing untrusted bytecode—we open-sourced a zero-dependency MIT Python CLI inspector:

  • Repository: github.com/liuyan-wjy/verity-mod-static-inspector
  • What it checks statically: Forge mods.toml loader version declarations, Bedrock manifest.json UUID/module structure (distinguishing CurseForge #1574632 Verity BE Official from #1575941 Verity - Bedrock Edition), and suspicious hardcoded endpoints.
python3 inspect_verity.py ./Verity-JE-6.0.0.jar

3. Zero-Upload Client-Side Log Redaction

Because players hesitate to install a CLI just to sanitize a crash log, the web companion at Verity Mod Guide runs an error diagnoser, VRAM estimator, and API-key log redactor 100% locally in browser memory—no server uploads, no accounts, and zero telemetry.

If you're integrating local LLMs into game engines or mod loaders, keeping static manifest validation offline and reserving explicit VRAM headroom for the 3D renderer solves the vast majority of community crash reports before they happen.


All Rights Reserved

Viblo
Let's register a Viblo Account to get more interesting posts.