
ArcadiaTweaks
服务端 Mixin 优化与调整,专为 Arcadia 整合包设计。
适用于 Arcadia — Echoes Of Power 的伞式模组补丁。非侵入式——不修改公共 API,不更改配方或注册表数据。每个优化领域都是一个独立模块;配置文件中为每条 Mixin 路径都提供了独立的开关。
模块 botany — BotanyPots 优化
针对 BotanyPotBlockEntity#tickPot(大型 BotanyPots 农场中的主要性能热点)的五种服务端策略:
| 策略 |
功能 |
默认值 |
| S1 作物/土壤缓存 |
在槽位变更之间缓存作物与土壤的兼容性结果——消除每株花盆每秒执行的 2–3 次 Ingredient.test() 调用 |
开启 |
| S2 Tick 合并 |
每 N 个游戏刻执行一次完整逻辑(可配置);生长速度保持不变 |
开启,N=4 |
| S3 漏斗退避 |
导出失败后跳过 K 个刻的后端库存扫描(指数退避) |
开启 |
| A1 生长刻缓存 |
按花盆缓存 Helpers.getRequiredGrowthTicks;槽位变更时失效 |
开启 |
| A2 光照标记降级 |
仅在库存变化时降低区块更新标记(无需重新计算光照) |
关闭 |
安装
将 arcadiatweaks-*.jar 放入服务器的 mods/ 文件夹中。BotanyPots 是可选依赖——如果未安装,botany 相关的 Mixins 将保持休眠状态,ArcadiaTweaks 仍可正常加载。
首次启动时生成配置文件:<server>/config/arcadiatweaks-common.toml——无需重新构建即可切换每项策略。
设计原则
- 仅使用 Mixin。 不使用反射补丁,除 NeoForge 提供的 AccessTransformers 外无其他访问转换。
- 非侵入式。 不改变公共 API 表面,不修改配方、数据包或注册表。
- 模块化。 每个领域位于特性模块之后,并带有顶层启用开关。
- 单策略独立开关。 每条 Mixin 路径都有专用的 TOML 布尔开关。
- 兼容插件。 默认优先级为 1000,仅针对稳定的内部类——不影响 BotanyTrees 及其他插件。
MIT — GitHub
ArcadiaTweaks (Français)
基于 Mixin 的 Arcadia 整合包服务端优化。
适用于 Arcadia — Echoes Of Power 的伞式模组补丁。非侵入式——不修改公共 API,不更改配方或注册表数据。每个优化领域都是独立模块;配置文件中为每条 Mixin 路径都设有独立开关。
模块 botany — BotanyPots 优化
针对 BotanyPotBlockEntity#tickPot(大型 BotanyPots 农场的关键路径)的五种服务端策略:
| 策略 |
功能 |
默认值 |
| S1 作物/土壤缓存 |
在槽位变更间缓存作物 × 土壤的兼容性结果——消除每株花盆每秒执行的 2–3 次 Ingredient.test() 调用 |
已启用 |
| S2 Tick 合并 |
每 N 个刻执行一次完整逻辑(可配置);生长速度不变 |
已启用,N=4 |
| S3 漏斗退避 |
导出失败后跳过 K 个刻的下层库存扫描(指数退避) |
已启用 |
| A1 生长刻缓存 |
按花盆缓存 Helpers.getRequiredGrowthTicks;槽位变更时失效 |
已启用 |
| A2 光照标记降级 |
当仅库存变化时降级区块更新标记(无需重新计算光照) |
已禁用 |
安装
将 arcadiatweaks-*.jar 放入服务器 mods/ 文件夹中。BotanyPots 为可选依赖——若不存在,botany Mixins 将保持休眠,模组仍可正常加载。
首次启动生成配置:<server>/config/arcadiatweaks-common.toml —— 无需重新编译即可切换各策略。
MIT — GitHub

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
评论 0
登录后参与评分
还没有评论,来抢沙发吧