The first time the creative inventory opens in a session, Minecraft builds the creative-search index on a background thread while the screen keeps drawing tooltips, so two threads run every mod's tooltip code at once. Some mods' tooltip code isn't safe the first time that happens. If the index build fails, typing in the creative search afterwards crashes the game.
This mod runs each of those first uses ahead of time on the main thread, so the two threads never race.
Covered
- Applied Botanical Machinery 1.1.1: its tooltip handler fills shared lists the first time any tooltip is made.
- Create: Simulated 1.3.3 (part of Create Aeronautics): the shared number format of its block property tooltips.
- Curios 9.6, with Relics or Cataclysm's belts: slot attributes made on first use. They are made at the first screen and again on joining a world, including a dedicated server's own slots.
- Botania Revived 2.0.4: the Great Fairy Ring, Ring of Far Reach, Tectonic Girdle and Ring of Odin, which write to their own item the first time their bonuses are read.
Requirements
- NeoForge 1.21.1. Client only: install it on players' games; it does nothing on a server.
- Every mod above is optional. Each part only runs when its mod is installed, and a version it doesn't recognise only logs a warning.
There is nothing to configure.
Made for the Create: Mint & Machine modpack, but it works in any pack with these mods. Source is on GitHub (MIT).
AI disclosure
This mod was made with AI. Its code was written by Claude, Anthropic's AI model, using Claude Code, under TheSkyFell's direction. TheSkyFell decided what it does and tested it in the Create: Mint & Machine modpack. This description was also written with Claude. The logo is placeholder pixel art, drawn by a script Claude wrote, until TheSkyFell can afford to commission an artist. The full source and its history are on GitHub.