Adaptive Performance Tweaks (APTweaks)



⚠️ 12.x 是当前统一版本分支。
较旧的文档或设置指南可能仍描述旧版 11.x 的多模块布局。
? 更新前请备份你的世界存档和配置文件。
12.x 仍处于早期发布阶段,部分配置细节可能在版本间发生变化。
? 稳定发布前的已知限制
目前尚无游戏内配置 GUI。12.x 当前采用“配置优先”的工作流,大型服务器通常需要在默认值基础上进行一些生成调整。
? 从 11.x 升级?
在安装 12.x 之前,请移除所有旧的 APTweaks 模块 jar 文件。请勿在同一个 mods/ 文件夹中混用 11.x 和 12.x 的文件。
Adaptive Performance Tweaks 是一款面向 Forge、Fabric 和 NeoForge 的服务端优化模组。
它会监控 Minecraft 的服务端负载,并自动调整选定系统,以降低专用服务器、单人世界和局域网开放世界的卡顿压力。
这意味着 APTweaks 不仅适用于公共或专用服务器。
它也能帮助普通客户端世界,因为单人和局域网会话仍然运行相同的服务器端系统来处理生成、刻制、游戏规则、物品、经验球和模拟距离。
12.x 不再要求你组装单独的模块,而是将主要功能组打包在一个模组中:
- 生成控制与生成预设
- 游戏规则自适应
- 物品、经验球和箭矢清理
- 玩家登录与新手指保护
- 带移动感知节流功能的自适应模拟距离
- 可选的高级节流功能(AI、区块生成和视距)
- 监控与基准测试工具
? 介绍与概览视频
APTweaks 擅长解决的问题 ✨
当性能问题由以下原因引起时,APTweaks 能发挥最大作用:
- 怪物过多或重复的生成尝试
- 大量掉落的物品、经验球或卡住的箭矢
- 过度的探索与区块生成负担
- 需要更柔和的自动响应而非永久性硬性限制的世界或服务器
APTweaks 特别适用于:
- 需要在玩家负载变化下提供自适应保护的专用服务器
- 实体压力巨大的整合包
- 拥有农场、过度探索或掉落物过多的单人世界
- 主机难以承受集成服务端负载的局域网世界
对于主要由以下原因导致的问题,它的帮助较小:
- 复杂的红石或机器逻辑
- 某个特定的损坏模组或实体
- 世界损坏或存储瓶颈
快速上手 ?
- 从
mods/ 目录中移除任何旧的 11.x APTweaks jar 文件。
- 通过 CurseForge
或 Modrinth 启动器安装 APTweaks 12.x。
手动安装:从上述页面之一下载对应加载器的 jar 文件,并将其放入
mods/ 目录。
- 启动游戏、世界或服务器一次。
- 检查
config/adaptive_performance_tweaks/ 中生成的文件。
- 在进行任何调整之前,先保留默认设置以进行测试运行。
- 如果你运行的是大型服务器,请尽早审查生成限制。默认的生成参数是针对约 4 名玩家优化的。
生成预设从以下位置加载:
config/adaptive_performance_tweaks/spawn_presets/
data/<namespace>/aptweaks/spawn_presets/
如果你想自定义预设,请从
wiki/SpawnPresets 中的模板和示例开始。
功能概览 ?
| 功能 |
作用 |
| 生物生成 (Spawn) |
通过感知负载的检查、视域逻辑和可配置预设来限制实体压力 |
| 游戏规则 (Game Rules) |
当服务器负载过高时,调整选定的游戏规则 |
| 物品 (Items) |
合并或移除多余的掉落物 |
| 经验球 (Experience Orbs) |
将经验球聚拢以降低实体数量 |
| 箭矢 (Arrows) |
清理卡住的箭矢,同时不影响正在飞行的投射物 |
| 玩家保护 (Player Protection) |
在玩家登录期间提供保护,并帮助新手或被列入名单的玩家 |
| 模拟距离 (Simulation Distance) |
在负载升高时自动降低模拟成本,并在重度探索期间可暂时更严格地节流,随后逐步恢复 |
| 视距 (View Distance) |
为高负载服务器提供的可选高级安全阀 |
| AI 节流 (AI Throttling) |
为远处实体 AI 提供的可选高级减速功能 |
| 区块生成节流 (Chunk Gen Throttle) |
为区块生成工作提供的可选高级减速功能 |
| 监控 (Monitoring) |
基于日志的负载和实体压力可视化工具 |
| 基准测试 (Benchmark) |
内置的场景化基线/活跃测量套件,适用于真实世界、服务器和整合包 |
模拟距离(Simulation Distance)保持之前的负载感知特性,但现在可以在 MEDIUM+ 负载的重度探索期间更严格地限制,并在玩家停止移动或完成登录后逐渐恢复。
命令 ?
主命令根节点为 /aptweaks。
常用命令包括:
/aptweaks status
/aptweaks load
/aptweaks stats
/aptweaks stats items
/aptweaks stats xp_orbs
/aptweaks stats arrows
/aptweaks stats reset
/aptweaks entities overview
/aptweaks feature <id> <true|false>
/aptweaks playerPositions
/aptweaks kill all_dropped_items
/aptweaks reload
/aptweaks debug
/aptweaks benchmark
/aptweaks benchmark start
/aptweaks benchmark start scenario <general|items|xp|entities|recovery>
如果感觉哪里不对劲,请先运行以下四个命令:
/aptweaks status
/aptweaks load
/aptweaks stats
/aptweaks debug <module> true
重载说明:
/aptweaks reload 会重新加载 .cfg 文件
- 生物生成预设 JSON 的更改使用原版
/reload 或重启更安全
- 功能开关(on/off)的更改可能仍需重启才能完全生效
了解更多 ?
维基是主要的 12.x 文档来源:
Adaptive Performance Tweaks (APTweaks)



⚠️ 12.x is the current unified release line.
Older docs or setup guides may still describe the legacy 11.x multi-module layout.
? Back up your world and config files before updating.
12.x is still a early-release and some configuration details may change between releases.
? Known limitations before stable release
There is no in-game config GUI yet. 12.x currently uses a config-first workflow, and larger
servers will usually need some spawn tuning beyond the defaults.
? Upgrading from 11.x?
Remove all old APTweaks module jars before installing 12.x. Do not mix 11.x and 12.x files in
the same mods/ folder.
Adaptive Performance Tweaks is a server-side optimization mod for Forge, Fabric, and
NeoForge.
It watches Minecraft's server-side load and adjusts selected systems automatically to reduce lag
pressure on dedicated servers, single-player worlds, and LAN-open worlds.
That means APTweaks is not only for public or dedicated servers.
It can also help in normal client worlds, because single-player and LAN sessions still run the same
server-side systems for spawning, ticking, gamerules, items, XP orbs, and simulation distance.
Instead of asking you to assemble separate modules, 12.x bundles the major feature groups in one
mod:
- Spawn control and spawn presets
- Game rule adaptation
- Item, XP orb, and arrow cleanup
- Player login and beginner protection
- Adaptive simulation distance with movement-aware throttling
- Optional advanced throttles for AI, chunk generation, and view distance
- Monitoring and benchmarking tools
? Introduction and Overview Video
What APTweaks is good at ✨
APTweaks helps most when performance problems are caused by:
- too many mobs or repeated spawn attempts
- large amounts of dropped items, XP orbs, or stuck arrows
- overloaded exploration and chunk generation
- worlds or servers that need softer automatic reactions instead of permanent hard limits
APTweaks is especially useful for:
- dedicated servers that need adaptive protection under changing player load
- modpacks with heavy entity pressure
- single-player worlds with farms, exploration, or too much dropped loot
- LAN worlds where the host machine struggles with the integrated server load
It is less helpful for issues that come mainly from:
- heavy redstone or machine logic
- one specific broken mod or entity
- world corruption or storage bottlenecks
Quick start ?
- Remove any old 11.x APTweaks jars from
mods/.
- Install APTweaks 12.x via
the CurseForge
or Modrinth launcher.
Manual install: download the jar for your loader from one of those pages and place it in
mods/.
- Start the game, world, or server once.
- Review the generated files in
config/adaptive_performance_tweaks/.
- Leave defaults on for a first test run before tuning anything.
- If you run a larger server, review spawn limits early. The fallback spawn defaults are tuned for
about 4 players.
Spawn presets are loaded from:
config/adaptive_performance_tweaks/spawn_presets/
data/<namespace>/aptweaks/spawn_presets/
If you want to customize presets, start with the templates and examples in
wiki/SpawnPresets.
Feature overview ?
| Feature |
What it does |
| Spawn |
Limits mob pressure with load-aware checks, view-area logic, and configurable presets |
| Game Rules |
Adjusts selected gamerules when the server gets stressed |
| Items |
Merges or removes excess dropped items |
| Experience Orbs |
Clusters XP orbs to lower entity counts |
| Arrows |
Cleans up stuck arrows without touching active projectiles |
| Player Protection |
Protects players during login and helps newer or listed players |
| Simulation Distance |
Lowers simulation cost automatically under load and can temporarily throttle harder during heavy exploration |
| View Distance |
Optional advanced safety valve for heavy servers |
| AI Throttling |
Optional advanced slowdown for far-away mob AI |
| Chunk Gen Throttle |
Optional advanced slowdown for chunk generation work |
| Monitoring |
Optional log-based visibility into load and entity pressure |
| Benchmark |
Built-in scenario-based baseline/active measurement suite for real worlds, servers, and modpacks |
Simulation Distance stays load-aware as before, but can now also clamp down harder during
heavy exploration at MEDIUM+ load and then recover gradually after players stop moving or finish
logging in.
Commands ?
The main command root is /aptweaks.
Useful commands include:
/aptweaks status
/aptweaks load
/aptweaks stats
/aptweaks stats items
/aptweaks stats xp_orbs
/aptweaks stats arrows
/aptweaks stats reset
/aptweaks entities overview
/aptweaks feature <id> <true|false>
/aptweaks playerPositions
/aptweaks kill all_dropped_items
/aptweaks reload
/aptweaks debug
/aptweaks benchmark
/aptweaks benchmark start
/aptweaks benchmark start scenario <general|items|xp|entities|recovery>
If something feels wrong, run these four commands first:
/aptweaks status
/aptweaks load
/aptweaks stats
/aptweaks debug <module> true
Reload note:
/aptweaks reload reloads the .cfg files
- spawn preset JSON changes are safer with vanilla
/reload or a restart
- feature on/off changes may still require a restart to take full effect
Learn more ?
The wiki is the main 12.x documentation:
评论 0
登录后参与评分
还没有评论,来抢沙发吧