File Details
create-bts-1.1.0.jar
- R
- Feb 28, 2026
- 270.64 KB
- 41
- 1.20.1
- Forge
File Name
create-bts-1.1.0.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
1.1.0
Fix 4 — RecipeEssentials LiquidBlazeBurner server crash (new)
RecipeEssentials 1.20.1-4.0 overrides RecipeManager.getRecipeFor() with a probabilistic stale-cache check that calls Random.nextInt(cachedList.useCount * 30). A data race or integer overflow can make useCount * 30 <= 0, throwing IllegalArgumentException: bound must be positive. LiquidBlazeBurnerBlockEntity.find() is called every tick; with multiple burners loaded, exceptions fire at up to 20 Hz and rapidly exhaust Neruina's ticking-exception threshold, killing the server.
LiquidBlazeBurnerMixin wraps the getRecipeFor call with a @Redirect try-catch. On IllegalArgumentException it returns Optional.empty() and increments a counter. A WARN is logged on the first suppression in each 5-minute window; the total count is reported every 5 minutes via the server tick handler.

