STYGION Optimize

Lag fixes from a busy Create server: autosave off the main thread, guards against watchdog crashes, fixes between mods. Same results, every fix has a switch.
Back to Files

STYGION Optimize 0.4.6 for 1.21.1 NeoForge

File namestygion-optimize-neoforge-1.21.1-0.4.6-1.21.1-neoforge.jar
Uploader
VOIDVIDEVOIDVIDE
Uploaded
Nov 16, 2026
Downloads
17
Size
315.7 KB
Mod Loaders
NeoForge
File ID
9655759
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:stygion-optimize-1775112:9655759"

Learn more about Curse Maven

What's new

STYGION Optimize 0.4.6

Less work per tick where a farm outgrew its storage, and for every player on a server with Evolved Mekanism: the two largest single costs in the live profile of STYGION MC on 16. 11. 2026 (4 players, 47 ms a tick).

  • Item Collector skips refused items (itemCollectorRefusedSkip, on): Just Dire Things' Item Collector offers every item on the ground in its area to the inventory it faces, on every run. With that inventory full and a farm still dropping (3 588 items in two chunks on STYGION MC), every item was offered to every slot and refused, run after run - 17 % of the tick. An item equal to one the inventory already refused in the same run (same item, count and components) now gets that answer without asking again; anything going in forgets every refusal, so the collector picks up exactly what it did before. Tested on a server with Just Dire Things 1.5.7, an Item Collector in front of a chest and 3 000 items in its area, 20 runs each with the switch off and on: the chest and every item left on the ground identical after every run; full chest 1.66 ms a run before, 0.38 ms after, chest with free slots 2.52 ms before, 0.33 ms after. With a larger inventory (a storage barrel) the saving grows with its slots.
  • Noctis Rozuli section scan (noctisRozuliSectionScan, on): Evolved Mekanism 1.3.0-fix2 reads every block in a 31 x 31 x 31 cube around every player after every tick (29 791 blocks), to switch Noctis Rozuli ore between its day and night look - 2.3 % of the tick with 4 players. The walk now skips the chunk sections that hold no Noctis Rozuli ore at all; on the others Evolved Mekanism's own code runs on every block, in the same order. Applies only to that build: its author has already reworked the method for the next one, which then runs as it is. Tested on a server with Evolved Mekanism 1.3.0-fix2: 60 ores in random looks around a player, at night and by day, end in the same states with the switch off and on; one player's tick 0.93 ms before, 0.32 ms after with ore in many sections around; the fewer sections near a player hold the ore, the less is left.
  • A fix into another mod can now also be pinned to the exact code of a method it relies on (not only one it replaces): when the other mod changes that method, the fix is left out with one line in the log.

Česky

  • Item Collector bez opakovaně odmítnutých itemů (itemCollectorRefusedSkip, zapnuto): Item Collector z Just Dire Things nabízí při každém běhu inventáři před sebou každý item na zemi ve své oblasti. S plným inventářem u farmy (3 588 itemů ve dvou chuncích na STYGION MC) dostal každý item od každého slotu „ne“, běh za během - 17 % ticku. Item stejný jako ten, který inventář ve stejném běhu už odmítl (stejný item, počet i komponenty), teď dostane stejnou odpověď bez ptaní; cokoli vloženého všechna odmítnutí zapomene, takže collector sebere přesně to, co dřív. Ověřeno na serveru s Just Dire Things 1.5.7 (truhla, 3 000 itemů, 20 běhů vypnuto × zapnuto: po každém běhu stejná truhla i itemy na zemi): plná truhla 1,66 → 0,38 ms za běh, s volnými sloty 2,52 → 0,33 ms.
  • Hledání Noctis Rozuli po sekcích (noctisRozuliSectionScan, zapnuto): Evolved Mekanism 1.3.0-fix2 čte po každém ticku kolem každého hráče všech 29 791 bloků krychle 31 × 31 × 31, aby rudě přepnul denní a noční vzhled - 2,3 % ticku se 4 hráči. Teď přeskočí sekce chunků, v nichž ruda vůbec není; ve zbylých běží vlastní kód Evolved Mekanism na každém bloku ve stejném pořadí. Jen pro tento build: autor metodu pro příští verzi sám přepsal. Ověřeno s Evolved Mekanism 1.3.0-fix2 (60 rud v náhodném vzhledu kolem hráče, v noci i ve dne stejný výsledek vypnuto × zapnuto): tick jednoho hráče 0,93 → 0,32 ms s rudou v mnoha sekcích kolem; čím méně sekcí rudu má, tím méně zbývá.
  • Oprava do cizího modu se teď dá připnout i ke kódu metody, na kterou spoléhá (nejen té, kterou nahrazuje): když ji druhý mod změní, oprava se vynechá s řádkem v logu.

This mod has no additional files