create-bts-1.1.0.jar
Curse Maven Snippet
What's new
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.
This mod has no additional files

