Перейти к содержимому
Mineforgian

ArcadiaTweaks

Server-side Mixin optimizations for BotanyPots, Mekanism, RefinedStorage tick coalescing, hopper backoff & more — each strategy has its own kill-switch. NeoForge 1.21.1.

313 загрузок0 подписчиковMITneoforge

Обновлён 20 мая 2026 г. · опубликован 14 мая 2026 г.

Wabbanode Partner

ArcadiaTweaks

Server-side, Mixin-based optimizations and tweaks for the Arcadia modpack.

Umbrella mod-patch for Arcadia — Echoes Of Power. Non-invasive — no public API changes, no recipes or registry mutations. Each optimization domain is a module; every Mixin path has its own kill-switch in the config file.

Module botany — BotanyPots optimizations

Five server-side strategies targeting BotanyPotBlockEntity#tickPot, the dominant hot path on large BotanyPots farms:

Strategy What it does Default
S1 Crop/Soil memoization Caches the Crop × Soil compatibility result between slot changes — eliminates 2–3 Ingredient.test() calls per pot per tick On
S2 Tick coalescing Runs the full tick logic once every N game ticks (configurable); growth speed unchanged On, N=4
S3 Hopper backoff Skips the downstream inventory scan for K ticks after a failed export (exponential backoff) On
A1 Growth ticks cache Memoizes Helpers.getRequiredGrowthTicks per pot; invalidated on slot change On
A2 Light flag downgrade Downgrades block update flags when only inventory changed (no light recalc needed) Off

Installation

Drop arcadiatweaks-*.jar into your server mods/ folder. BotanyPots is optional — if absent, the botany Mixins stay dormant and ArcadiaTweaks loads cleanly regardless.

Config generated on first start: <server>/config/arcadiatweaks-common.toml — every strategy can be toggled without rebuilding.

Design principles

  • Mixin only. No reflection patches, no AccessTransformers beyond what NeoForge provides.
  • Non-invasive. No public API surface changes, no recipe/datapack/registry mutations.
  • Modular. Each domain lives behind a feature module with a top-level enable toggle.
  • Per-strategy kill-switch. Every Mixin path has a dedicated TOML boolean.
  • Addon-friendly. Default priority (1000), targets stable internal classes only — BotanyTrees and other addons unaffected.

MIT — GitHub


ArcadiaTweaks (Français)

Optimisations serveur pour le modpack Arcadia, basées sur Mixin.

Patch parapluie pour Arcadia — Echoes Of Power. Non-invasif — aucun changement d'API publique, aucune mutation de recettes ou de registres. Chaque domaine d'optimisation est un module indépendant ; chaque chemin Mixin possède son propre interrupteur dans le fichier de config.

Module botany — Optimisations BotanyPots

Cinq stratégies côté serveur ciblant BotanyPotBlockEntity#tickPot, le chemin critique des grandes fermes BotanyPots :

Stratégie Ce qu'elle fait Défaut
S1 Mémoïsation Crop/Soil Met en cache le résultat de la compatibilité Crop × Soil entre les changements de slot — élimine 2–3 appels Ingredient.test() par pot par tick Activée
S2 Coalescing de ticks Exécute la logique complète une fois tous les N ticks (configurable) ; la vitesse de croissance reste identique Activée, N=4
S3 Backoff hopper Ignore le scan d'inventaire aval pendant K ticks après un export échoué (backoff exponentiel) Activée
A1 Cache growth ticks Mémoïse Helpers.getRequiredGrowthTicks par pot ; invalidé lors d'un changement de slot Activée
A2 Downgrade flag lumière Rétrograde les flags de mise à jour de bloc quand seul l'inventaire change (pas de recalcul lumière) Désactivée

Installation

Déposer arcadiatweaks-*.jar dans le dossier mods/ du serveur. BotanyPots est optionnel — en son absence, les Mixins botany restent dormants et le mod se charge normalement.

Config générée au premier démarrage : <server>/config/arcadiatweaks-common.toml — chaque stratégie se bascule sans recompilation.

MIT — GitHub

Центр версий

2 версий
  • Релиз347 КБ
  • Релиз340 КБ

Ченджлог

0.1.1Релиз1.21.1 · 20 мая 2026 г.

ArcadiaTweaks 0.1.1 - Patch Notes

Summary

ArcadiaTweaks 0.1.1 adds several targeted performance patches based on Spark profiles from the Arcadia production server. The approach is conservative: repeated scans and checks are reduced only when they are idle or repeatedly produce no useful work.

The all jar includes the BotanyPots, Refined Storage, Mekanism and Immersive Engineering patches. Separate single-patch jars can also be built.

Main Changes

Refined Storage

  • Added activeness-check coalescing for network nodes and transmitters.
  • Reduces repeated active-state checks without directly throttling importer/exporter work.
  • Added configurable settings:
    • activeness_check_coalescing_enabled
    • activeness_check_interval_ticks

Recommended settings:

[refinedstorage]
activeness_check_coalescing_enabled = true
activeness_check_interval_ticks = 20

Mekanism

  • Added backoff for transmitter pull scans.
  • Added backoff for energy/fluid/chemical network emit scans when they repeatedly transfer nothing.
  • Added backoff for idle Logistical Transporter path recalculations when no target is found.
  • Added an optional client-side rendering safety patch for colored Logistical Transporters:
    • keeps pipe colors visible;
    • avoids the suspected translucent rendering path involved in progressive FPS drops;
    • adds a guard for abnormal transmitter baked-model cache growth.

Recommended settings:

[mekanism]
transmitter_pull_backoff_enabled = true
transmitter_pull_backoff_max_ticks = 20
network_emit_backoff_enabled = true
network_emit_backoff_max_ticks = 20
logistical_transporter_idle_backoff_enabled = true
logistical_transporter_idle_backoff_max_ticks = 20
client_logistical_transporter_safe_rendering_enabled = true
client_transmitter_model_cache_max_entries = 4096

Immersive Engineering

  • Added a new patch for the Powerpack / Accumulator Backpack.
  • Targets the reported issue where the backpack can cost thousands of us/tick while the player is idle.
  • Applies backoff only to the induction inventory scan when it transfers no energy.
  • Active charging is preserved: if an item accepts energy, the backoff is reset.

Recommended settings:

[immersiveengineering]
powerpack_induction_idle_backoff = true
powerpack_induction_idle_backoff_max_ticks = 40

BotanyPots

  • Keeps the existing optimization set:
    • crop/soil match caching;
    • tick coalescing;
    • hopper export backoff;
    • required growth tick caching.

Recommended settings:

[botany]
matches_cache_enabled = true
tick_coalescing_enabled = true
tick_coalescing_n = 4
hopper_backoff_enabled = true
hopper_backoff_min_ticks = 16
hopper_backoff_max_ticks = 64
required_growth_ticks_cache_enabled = true
light_flag_downgrade_enabled = false
safety_revalidate_period_ticks = 200

Admin Menu

An in-game admin GUI can enable/disable patches and adjust the main settings.

Commands by jar variant:

Jar Command
All patches /arcadiatweaks gui
BotanyPots only /botanypatch gui
Refined Storage only /refinedstoragepatch gui
Mekanism only /mekanismpatch gui
Immersive Engineering only /immersiveengineeringpatch gui

Alias:

admin

Mixin Safety

Patches are not gated by a hardcoded target mod version. They check the expected class, method and call structure instead.

If a target mod update changes one patched class:

  • only the affected mixin is skipped;
  • ArcadiaTweaks writes a short warning to the logs;
  • the other patches keep running;
  • the all-in-one jar does not disable every module because of one incompatible mixin.

Installation

Most patches are server-side.

Client installation is required only for the Mekanism M4 client rendering safety patch, which targets colored Logistical Transporters.

Do not install multiple variants at the same time. All variants use the same modId:

arcadiatweaks

Operational Notes

  • Refined Storage: keep activeness_check_interval_ticks = 20 in production unless faster active-state response is required.
  • Mekanism: start with max backoff values at 20; increase to 40 only if Spark still shows high idle network cost.
  • Immersive Engineering: 40 ticks is the best balance for idle Powerpack scans. Use 20 if players often hot-swap chargeable items.
  • BotanyPots: tick_coalescing_n = 4 remains the safest production profile. 8 is only recommended for very static farms.
0.1.0Релиз1.21.1 · 14 мая 2026 г.

Changelog

All patch modules Initial all-in-one ArcadiaTweaks release for NeoForge 1.21.1.

Included modules

BotanyPots: crop/soil memoization, tick coalescing, hopper export backoff and growth tick caching. Refined Storage: coalesced network node/transmitter activeness checks. Mekanism: conservative backoff for idle transmitter pull scans and network emit scans.

Admin GUI

The menu is server-side only and uses a Minecraft inventory screen. Operators can enable/disable modules and tune patch settings without editing the config by hand.

Safety

Target mod classes are checked structurally, not by version string. - If a target method/class changes, only the affected Mixin is skipped. - One skipped patch does not disable the other modules. - Every strategy has a config kill switch.

Комментарии

Загружаем…