Bons and Furious 1.1.0
Curse Maven Snippet
What's new
Bons and Furious 1.1.0
901 controls for Minecraft 1.20.1 Forge, up from 894 in 1.0.50.1. This release adds seven controls: five switched on by default, for world generation, the start of a world and resource loading, and two trade-offs that ship switched off. It also fixes Chunks Fade In, Structure Essentials' search timeout and Illusion next to this mod, two leaks of closed worlds and two smaller bugs, and 31 controls now step aside next to mods whose own changes sit in code they skip. No default of an existing control changed and no control was removed. Still one JAR for client and server with nothing else required; every target mod is optional.
Seven new controls
- World generation: a noise router can switch a part of the terrain off by multiplying it by zero. Tectonic does that for its
lava tunnels when they are turned off in its config, and the tunnel term was still computed for every point of every chunk.
vanilla_density_zero_term_skipcomputes such a term only at the points where it could change the sum; the densities stay identical bit for bit. Pregenerating 2 x 1,024 chunks in our pack (about 520 mods, Tectonic terrain, C2ME) on an otherwise idle Ryzen 9 3900X (12 cores, 32 GB), two runs per setting: 27.3 chunks/s with the switch and 25.8 without (+5.8 %), 331 instead of 362 ms of generation CPU per chunk. Alex's Caves hooks every biome lookup of every dimension and tests only at the end whether the dimension is allowed.alexscaves_rare_biome_dimension_firsttests the dimension first, so in dimensions that none of its biome conditions lists (by default all but the overworld) the hook ends at once. On two planets of a space mod the hook took 23.9 % (Moon) and 15.2 % (Mars) of the world-generation worker time without the switch, 5.0 % and 1.7 % with it. - Starting a world and loading resources: Simply Swords' loot table hooks asked its Loot config for each setting separately,
and every question read the whole file from disk again (about 35 per chest table).
simplyswords_loot_hook_config_scopereads it once per hook call. Assets Protector, a library for encrypted mod resources, derives a key (65,536 rounds of PBKDF2) for every resource whose end looks like its encrypted tail; in our pack 30 of 389,209 resources matched by chance and none of them could be decrypted.assetsprotector_undecryptable_skiprefuses such a tail before the key derivation, with the same result, and compiles Assets Protector's text pattern once. Oceanic Realms derived its fixed key again for every encrypted file it opened: 249 times in one client session (6.6 s of resource loading on an otherwise idle Core Ultra 9 285K, 24 cores, 64 GB).oceanicrealms_master_key_oncederives it once (21 ms). Starting a new world on a dedicated server with our pack on the idle Ryzen 9 3900X: launch to ready 103.0 s with the switches, 106.2 s with the Simply Swords switch off and 103.7 s with the Assets Protector switch off. - Two trade-offs that ship switched off: Distant Horizons takes and releases a lock for every single light value it reads or
writes while it builds LOD data, only to report its own code using one section from two threads.
distanthorizons_light_section_lock_skipreads and writes the values without it, so such a Distant Horizons bug would no longer be reported; the lock was 22 %, 34 % and 31 % of the LOD builder thread in the Nether, on the Moon and on Mars.formations_structure_biome_firstlets each structure attempt of Formations look at the biomes at every height it could stand at before it searches for a place: in a Nether square it skipped 714 of 1,103 attempts, and Formations' placement search fell from 6.9 % to 4.9 % of the generation worker time. It is not exact: the extra biome lookups can change which of two biomes the game picks where their climate values tie exactly, so at such rare spots a world can come out differently.
Four of the five that ship switched on give exactly the same results as the original code. simplyswords_loot_hook_config_scope is
an exact variant: within one hook call for one table the Loot config file is read once, so an edit made while that one call runs is
seen from the next call.
Fixed
- Chunks Fade In: freshly loaded chunks could stay half transparent while the camera stood still.
embeddium_draw_batch_cachereplayed remembered draw commands instead of running Embeddium's command fill, where Chunks Fade In (and Chunk Animator's Embeddium compat) advance their fade. It now steps aside next to them, with one log line, and stands down whenever another mod has changed that method. - Structure Essentials' search timeout never fired, so a long map, dolphin or locate search could run into a dedicated server's
watchdog:
vanilla_structure_ring_searchanswered the search itself. It now steps aside next to Structure Essentials, Structure Control, Gensokyo Legacy, The Lost Citadel and Structurify 2.0.36 or newer, which change the same search. Older Structurify builds do not, so the control keeps working next to them and Structurify's own changes run as before. - Illusion: next to Fusion, Mixin dropped Illusion's face-visibility redirect because
embeddium_visible_faces_firstchanges the same call, andembeddium_hidden_block_skipasks the same question in its own way. Both now step aside next to Illusion. - Closed worlds kept in memory: in single player,
cosmichorizons_reload_unchanged_skipkept the last closed world's server with all its levels, andforgeendertech_start_config_reads_oncekept its start-time copies after the server had started. Both now keep nothing. - Fancy World Animations: with
embeddium_hidden_block_skip, finished animations of blocks with a block entity (the jukebox) stayed in its list and were drawn every frame; such blocks now take the stock path.valkyrien_block_registration_lazy_cacheruns the cache test again for blocks with an offset function, so a broken block reports its error at world start, as without the switch. - Other mods' changes inside skipped code: a new check of every control that can skip a method body or a call found more mods whose own changes sit inside such code: History Stages, Otherworld Origins, Better Selective Combat, Dream Relics, MAR Relics, Ramesses Curse, Attributification, Superior Allies, Sleeping Overhaul, DMZ Village Compat, Sloppy Fishy, Useless Mod, MatLib, Accelerated Rendering, Advanced Fake Players, Water Dragons, A Belated Gift and MH Warfare. The controls concerned step aside next to them, with one log line each (31 compatibility rows in all, the ones above included).
Notes
alexscaves_rare_biome_dimension_firstkeeps its answer per biome source and works it out again when Alex's Caves reloads its biome config. A biome source that was not given its dimension runs the original code: in our pack the Nether's lookups go through BCLib's Nether biome source, so the Nether is unchanged there.vanilla_density_zero_term_skipacts only where the term holds density function types known to be pure; every other noise router keeps the original code.- Two shipped descriptions were corrected: the self-check of
vanilla_flat_cache_outside_columnscompares one answer in 4096 of every table after the first 256 of every generator, and YUNG's Cave Biomes asks for the climate sampler again at the end of the same biome step (vanilla_chunk_climate_sampler_reuse).
Tested
The new controls were checked while the game ran, with the original code computed alongside wherever that is possible: 17,159,703
density fills were compared bit for bit and none differed; with every Alex's Caves hook running as shipped, none of the 4,681,915
lookups the switch skips set a biome; every call Assets Protector refuses early ended with the same exception as shipped; 248 Oceanic
Realms keys matched the kept one; none of the 1,477 Formations attempts that were checked was skipped wrongly; Simply Swords' hooks
answered 51,760 config reads from the read of their own call; Distant Horizons logged no error in any run with its switch on. The
fixes for Chunks Fade In, Illusion, Structure Essentials and the two closed-world leaks were first reproduced with 1.0.50.1 and then
checked again on the released JAR: no chunk stays faded next to Chunks Fade In, Illusion keeps its redirect, a search that Structure
Essentials stops after 1 s (its timeout set to 1 s) stops there again instead of running 12.4 s, and no closed world is kept after
the same save was opened and left four times. Next to Structurify 2.0.34 and 2.0.35 vanilla_structure_ring_search keeps working,
next to 2.0.36 and 2.0.43 it steps aside, and Structurify's own changes apply in all four. The release then ran on client and
dedicated-server copies of the reference pack, where it logged the same decisions as 1.0.50.1 apart from the new controls, and two
builds of the released JAR were byte for byte the same.
Install
Replace the older Bons and Furious JAR with bons_and_furious-1.1.0.jar and restart. Minecraft 1.20.1, Forge 47.3.22 or newer within
47.x; tested with 47.4.28. No required dependencies. Existing config choices are kept, and the seven new keys are added with their
defaults (five true, the two trade-offs false). 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.49.1 and has not been repeated for this release.
SHA-256 9b9fef7e58a850dfe88d81d2d1030016982d232a888aec543b8f84f6541c2dbd.
This mod has no additional files