STYGION Optimize 0.4.5 for 1.21.1 NeoForge
Curse Maven Snippet
What's new
0.4.5 (16. 11. 2026)
One file with everything of 0.4.3 and 0.4.4 below (neither was released on its own). Less work per tick on a server full of machines: three costs from the live profile of STYGION MC on 15. 11. 2026 (8 players, 58 ms a tick, 40 % of it block entities).
In this version off by default - switches that change what the game does and have not been run in game yet; turn them on in
config/stygion_optimize-common.toml to use them: cannonClaimGuard (0.4.3), chiselsAndBitsClaimGuard and
replayRecordingScanGuard (0.4.4), sharedTickingChunkLoop (0.4.5).
- Sleeping Mekanism casings (
mekanismCasingSleep, on): every block of a Mekanism multiblock ticked every tick, although a casing of a formed, unchanged structure has nothing to do - only the controller or master runs the machine. Casings of thermal evaporation plants, dynamic tanks and induction matrices (about 17 thousand of the 22 thousand ticking block entities on STYGION MC) now leave the list of ticking blocks once their structure has been stable for a few seconds, and come back the moment anything can change it: a block placed, broken or changed in or next to the structure, a chunk under it loaded or unloaded, a new formation, a comparator update, a screen opened, or the switch turned off. Tested on a server with Mekanism against Mekanism without the switch, step by step (forming, filling 8000 mB into a dynamic tank and 10000 mB into an evaporation plant, breaking, repairing, a block inside the tank, unloading, restarting): the same formations and the same contents (water kept, brine made). 64 evaporation plants: about 2 ms a tick before, 0.3 ms after (184 instead of 14 378 ticking block entities). - Mekanism idle frequency skip (
mekanismIdleFrequencySkip, on): every Mekanism block entity ran its frequency component each tick, also the thousands that can never have a frequency (multiblock casings, dynamic tanks, thermal evaporation blocks - about 22 thousand on STYGION MC). For those the call did nothing but read a separate object, about 2 ms a tick in cache misses. It is now skipped for block entities that never registered a frequency type; the others (teleporters, quantum entangloporters, ...) run as before. - Shared ticking chunk loop (
sharedTickingChunkLoop, in this version off by default): TFMG (every tick, for its fluid reservoirs) and Snow Under Trees (while it rains) walk every loaded chunk holder of a world again after the game has just done it - about 1.3 ms and 2.5 ms a tick. With the switch on they reuse the game's own walk. It stays off until it is tested in game against the two mods' own behaviour; turn it on to try it. - Sable distance fast path (
sableDistanceFastPath, 0.4.2, on): on Sable 2.0.6 it was never applied - Mixin refused it, because the projection it called is a default method of Sable's interface, not of the class. It now calls the projection the class declares, with the same arguments the default method passes. Tested on a server with Sable 2.0.6: 200 000 distances (every 50th into ship plot space) with the switch off and on, identical to the last bit. What it saves is garbage (two vectors per distance), not time per call. - The log line for a main thread waiting on a chunk (
logSyncChunkLoadsOverMs) now also works with Lithium installed (itschunk_accesschange moves that wait).
0.4.4 (in 0.4.5, not released on its own)
A claim fix for Chisels & Bits, two replay fixes, and a review of every fix this mod puts into another mod.
- Chisels & Bits claim guard (
[fixes] chiselsAndBitsClaimGuard; in this version off by default - turn it on to use it): Chisels & Bits carves and places bits through its own code, past the block break and place events FTB Chunks protects claims with, so anyone could chisel into another team's base. With the switch on, a chisel, a bit, a pattern, a chiseled block placed from the hand and the wrench work only where FTB Chunks lets that player break and place blocks - asked through the same call FTB Chunks makes for a pickaxe, so teams, allies, the team's block edit mode, fake players, admin bypass and the edit whitelist count the same, and FTB Chunks tells the player it said no. Chisels and bits are answered through Chisels & Bits' own permission handler (no mixin), for every block an area mode covers. Not covered: undo and redo of the player's own earlier changes. Has no effect unless both mods are installed. - Evolved Mekanism config loop (
evolvedMekanismConfigFixinstygion_optimize-startup.toml, on): Evolved Mekanism 1.3.0 defines two whole-number settings (energyStorage,energyPerInputof the APT) in a way the config file can never satisfy, so the game rewrote its general config with the defaults in a loop for as long as it ran (5-21 times in 11 seconds on one server) and the two settings could not be changed. They are now defined with a range, like the mod's other energy settings: the file is left alone and the settings work. - Brainless farm mobs (
spawnerFarmMobs): a spawner carried with Carry On and put down again by a player now counts as placed by a player. Carry On reports the place before it sets the block, so the spawner was not there yet to be marked; such places are looked at again at the end of the tick. - Movement guard (
movementGuard): besides dropping an absurd move, it now logs where such a velocity is set, with the calls that set it (one line a minute), so the mod behind it can be found. - A fix into another mod can no longer stop the game from starting. Before a mixin into another mod is applied it is
checked against the build that is installed: the methods, calls and fields it touches must be there, and a method
it replaces outright must still have the body it was written against. A fix that does not fit is left out with one
line in the log (
... hooks NOT applied: ... - <what differs>) and the other mod runs as its author wrote it; fixes that only work together are applied all or none.-Dstygion_optimize.skipHooks=sable,atmosphereleaves fixes out by hand. - Sable chunk load guard (
sableNoSyncChunkLoads): a block changed on a ship within two blocks of the corner of one of the ship's chunks could lose its physics update for good when the chunk diagonally across did not exist - the guard took "no such chunk in the ship's plot" for "not loaded yet" and waited for a chunk that never comes. Ship plots are never waited for now (Sable answers them at once itself), and the guard looks at exactly the chunks Sable reads. - Explorer's Compass (
structureSearchAsyncChunks): a search whose last candidate was still being generated ended without trying it and without telling the compass it had failed (it kept "searching"). The worker is now put back exactly as it was before the attempt. - Sable distance fast path (
sableDistanceFastPath): the same result to the last bit as Sable's own arithmetic (it could differ in the last digit before), and with the switch off the code that runs is Sable's own. - Ad Astra planet cache (
adAstraPlanetCache): safe when two threads ask at once (one whole answer behind one field). - ReForgedPlay (client), two switches, one per fix:
replayCameraGuard(on; tested: replays opened and rendered with Sable Ragdolls): opening a replay with Sable Ragdolls installed no longer disconnects with a NullPointerException in the replay camera.replayRecordingScanGuard(in this version off by default - turn it on to use it): with the switch on, a game started straight into a server keeps its recording (the crashed-recording scan took the live recording for a crashed one, marked it for deletion and the save failed hours later). Off, ReplayMod behaves as before.
- Create Big Cannons claim guard: the hook into a shot going through a block now coexists with other mods' hooks at the same place.
- The log line at start lists every switch under its config file name, section by section
(
[autosave] asyncPlayerFiles on, ...), and names apart the switches whose mod is not installed. - Create: Deep Seas 3.4.8 cuts its float scan to the world's height itself;
submarineFloatScanGuardstays for older builds and changes nothing on newer ones.
0.4.3 (12. 11. 2026)
- Cannon claim guard (
[fixes] cannonClaimGuard; in 0.4.5 off by default - turn it on to use it): Create Big Cannons breaks blocks past the explosion event FTB Chunks protects claims with - shells, impacts, wear and shots going through blocks broke claimed bases. With the switch on, a cannon breaks and wears only what FTB Chunks would let an explosion break: unclaimed land, a team that allows explosions, or protection switched off server-wide. Shells still fly, hit, hurt and explode. One question per chunk, not per block; has no effect unless both mods are installed. (Moved here from Keystone, where it never got released.)
This mod has no additional files