Bons and Furious 1.0.35
Curse Maven Snippet
What's new
Bons and Furious 1.0.35
255 controls for Minecraft 1.20.1 Forge, up from 254 in 1.0.34. This release makes the first night of a session smoother: the one new control prepares the code of every kind of mob in the background, so mobs that spawn for the first time cause shorter stalls. Still one JAR for client and server with nothing else required.
One new control
- Minecraft (both sides):
vanilla_mob_class_warmup. The first time each kind of mob spawns in a session, the game loads and checks that mob's code and the code of its behaviour on the main thread. When night falls, many kinds of monsters spawn for the first time within a few seconds, and those first spawns arrive together as lag spikes. Once a world or server has started, a background thread now loads and checks that code ahead of time. Nothing is created and no mob code runs early. It works on dedicated servers and in single-player.
The new control is on by default.
Tested
In a 480-mod pack with a survival player at midnight, we measured the first 400 ticks after monsters start spawning, with the control on and off, on two machines. The time lost to ticks longer than 50 ms went down by about a quarter, and every run with the control on lost less time than every run without it. About 7,100 classes are prepared in 2 to 3 seconds on the background thread, with one log line. The cost is about 7 MB more memory for class data, and a single-player world takes about half a second longer to join while it runs.
This came from a CurseForge report of lag spikes at night with Mobtimizations installed. Mobtimizations was installed in every one of these tests, and the two mods work together.
Thanks to the player who reported it on CurseForge.
Install
Replace the older Bons and Furious JAR with bons_and_furious-1.0.35.jar and restart. Minecraft 1.20.1, Forge
47.3.22 or newer within 47.x; tested with 47.4.16. No required dependencies. Existing config choices are kept and
new keys are added with their defaults. Every control has its own switch in config/bons_and_furious.properties,
and a control whose target mod is missing or at another build is skipped.
The whole-pack benchmark on the project page was measured with 1.0.26 and has not been repeated for this release.
SHA-256 a424ab941346ac4709b1664f781739621d3ca83bc2d817aa92a2b6f8860f847d.
This mod has no additional files

