promotional bannermobile promotional banner
premium banner
Server-side Mixin optimizations for BotanyPots large farms. Crop/Soil memoization, tick coalescing, hopper backoff & more — each strategy has its own kill-switch. NeoForge 1.21.1.

Description

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