Smiley's Better Brain

A must-have add-on for VarmiteYT's Verity JE that makes Verity smarter.
item image
item image

Description

Title Image

🧠 Give Verity a smarter brain.

Minecraft Forge Requires Status

A lightweight add-on for Verity JE that swaps Verity's default text AI (Groq / OpenRouter Llama models) for Google Gemini 3.1 Flash-Lite. Same companion energy — upgraded engine, better memory, and a happier default vibe (with a dark side if you push him).


✨ What You Get

  • 🧩 Gemini 3.1 Flash-Lite as Verity's text brain
  • Thinking level — Fast / Balanced / Smart (how hard Gemini thinks before replying)
  • 🔑 Simple setup — enable the mod and paste a Gemini API key
  • 😊 Cheerful by default — happy, energetic companion who can get sharp if you disrespect him
  • 🧠 Long-term memory — “remember that…” sticks across sessions (outside the chat window)
  • 💬 Configurable short-term memory — more recent chat (default 20, up to 100), survives world restarts, including idle lines he starts himself
  • 👁️ Pairs with Smiley's Better Vision for true multimodal chat (one API call for screenshot + message)
  • 🧬 Compatible with Smiley's Better Voice so Verity can still speak with Fish / Cartesia TTS

🚀 Why Gemini over the default models?

Verity JE defaults to Llama models via Groq/OpenRouter (e.g. Llama 3.1 Instant / Llama 3.3 70B). Those are solid — Gemini 3.1 Flash-Lite is built for a stronger everyday Verity:

Default Llama path Gemini 3.1 Flash-Lite (this mod)
Model generation 2024-era Llama Newer Gemini 3.x lite model
Instruction following Good Excellent
Context window ~128k Up to 1M tokens
Multimodal Text only Text + images in one request
Intelligence Score: 9 Score: 25
Speed Score: 86 Score: 277
Token usage Decent Virtually nonexistent
With Better Vision Separate “describe image” call, then chat One multimodal call (faster, cleaner)
Setup Groq / OpenRouter key in Verity Free Gemini key from Google AI Studio

In short: better reasoning for character chat, huge context headroom, speed, and native vision when you stack Better Vision — without replacing Verity JE.


🧠 Memory

Verity JE only keeps the last 10 chat messages by default. Better Brain improves both sides:

Short-term memory

  • Configurable size (10–100 messages, default 20)
  • Saved with the world — survives restarts
  • Includes idle lines Verity starts on his own
  • Higher values = better recall of recent chat, but replies may be a bit slower

Long-term memory

  • Say “remember that…” / “don’t forget…” and Verity stores durable facts
  • Facts stay available after they leave the short-term window
  • Ask him to forget something (or forget everything) when you want them gone
  • Toggle off in config if you don’t want it

Memories are per world — they don’t carry over to a different save.


😊 Tone tweaks (built-in)

Better Brain gently adjusts how Gemini uses Verity’s live prompt (without replacing Verity JE):

  • Default vibe leans happy, cheerful, and energetic
  • He can still show a darker / sharper side if you disrespect him
  • Low-karma “resentful / neutral” wording is softened so he doesn’t go cold as easily
  • Light level / brightness talk only when you bring it up (no more constant “is it bright?” loops)

✅ Before You Start

Requirement Version
🟩 Minecraft 1.20.1
⚒️ Forge 47+
😁 Verity JE 5.0+
⬜ Cloth Config Latest
👁️ Smiley's Better Vision (optional) 1.1.3+ for multimodal mode

⚠️ This mod works alongside Verity JE — it does not replace it.


🚀 Quick Start

  1. Drop the JAR into your mods folder and launch Minecraft
  2. Create a Gemini API key at aistudio.google.com/apikey
  3. In-game: Mods → Smiley's Better Brain → Config
  4. Keep Enable Smiley's Better Brain on, paste your Gemini API Key, hit Done
  5. Chat with Verity as usual 👋
  6. Optional: pick a Thinking level, raise Short-term memory, or tell him to remember something

👁️ Better Brain + Better Vision

When both mods are installed and Brain has a key:

  1. Wrap something in ** to trigger vision (same Better Vision trigger)
  2. Vision skips its separate describe-the-image call
  3. Screenshot + player message go to Gemini in one multimodal request
  4. You only need the Brain API key for that path

Vision older than 1.1.3 will fail Forge’s version check if Brain is installed. Update Vision, or remove it if you only want Brain’s text upgrade.


⚙️ Config Options

Mods → Smiley's Better Brain → Config

Setting Does what
🟢 Enable Smiley's Better Brain Master on/off for Gemini text AI
🔑 Gemini API Key Key from Google AI Studio
⚡ Thinking level Fast / Balanced (default) / Smart — deeper thinking can improve replies but may be slower
🧠 Long-term memory Store facts you explicitly ask Verity to remember
💬 Short-term memory (messages) How many recent messages Verity keeps (10–100, default 20). Higher = better recall, may be slower

Saved to config/verity_brain-common.toml.


🛠️ Troubleshooting

🔴 Silent / fallback replies — Confirm Brain is enabled and your Gemini key is pasted correctly. Invalid keys usually show up in the game log as Gemini HTTP errors.

🟡 “Slow down — Gemini is limited to 15 requests per minute” — Brain rate-limits Gemini usage. Wait a moment and try again.

🟣 Forgot something after restart? — Short-term chat and long-term memories persist with that world. Load the same save; they don’t transfer between worlds.


📌 Notes

  • 🌐 Requires an internet connection while Brain is active
  • 📊 Gemini usage depends on your Google AI Studio / Gemini API quota (Brain also caps at 15 requests/minute)
  • 🛠️ Unofficial add-on — not made by the Verity JE team

🔗 Links

Google AI Studio Better Vision Better Voice


Legal: Smiley's Better Brain is an unofficial, independently-coded add-on and is not affiliated with Verity JE or its creators. It requires the parent mod to be installed separately and does not copy or redistribute any of its content. All rights to Verity JE belong to its respective owners. Google Gemini is a trademark of Google LLC. This isn't legal advice.

The Smiley's Better Brain Team

profile avatar
Owner
  • 9
    Followers
  • 4
    Projects
  • 42.4K
    Downloads

More from Toast5