?️ combat-control ?️
还原 1.8.9 及更早版本的经典战斗体验。移除攻击冷却等更多内容!
❗ 重要 ❗
该模组默认情况下不会改变战斗机制。 你必须使用
/combat style minecraft:classic来启用经典战斗模式。
本模组的所有功能均可单独配置,且支持针对每个玩家进行设置。 你可以让部分玩家保留攻击冷却,而其他人则不保留。
该模组仅需安装在服务端,但在客户端也安装该模组会带来更好的体验。
? 功能
- 移除攻击冷却
- 重新引入盾牌格挡(自 1.21.5 起兼容原版)
- 剑的格挡反击
- 斧头和其他工具造成的伤害降低,如同 1.8.9 版本
- 恢复食物机制与快速回血效果
- 雪球再次造成击退效果
- 钓鱼竿造成击退效果
- 不同的击退变体有助于提升连击
- 禁用钓鱼竿拉取动作,类似于许多 PvP 服务器
- 允许在使用弓或进食时进行攻击,如同 1.7.10 版本
- 静止不动时使用剑不再触发横扫攻击。横扫之刃附魔仍会触发横扫攻击
- 冲刺时仍可造成暴击
- 攻击不再阻止你冲刺
- 增强锋利度附魔,每级增加 1.25 点攻击力,如同 1.8.9 及更早版本
- 移除现代战斗音效
- 移除现代战斗粒子效果,例如伤害指示器
- 恢复附魔金苹果(“Notch 苹果”)的效果
- 钓鱼竿将实体略微向上拉拽
- 拉取实体时钓鱼竿耐久消耗减少
- 钓鱼竿播放旧版音效
- 钓鱼浮漂移动速度更快
- 使用工具攻击时耐久消耗减少
- 移除使用盾牌等物品时的重新装备动画
- 跳跃时带有头部倾斜的经典摆动动画
- 瞬间潜行动画
- 武器采用旧版属性显示风格
- 移除闪烁红心动画
- 重新引入药水附魔光效
- 在物品提示中再次显示锋利度伤害数值(修复 MC-271840)
- 将投射物容忍容差恢复为恒定的 0.3 格(Minecraft 1.21.6 之前)
- 允许投射物击中与拥有者玩家碰撞箱相交的实体(Minecraft 1.12.2 中已更改)
- 雪球撞击时使用经典粒子效果
- 使用经典战斗模式时,三叉戟伤害从 9 降至 6
- 使用 Minecraft 1.7.10 及更早版本的第三人称剑格挡动画
⚠️ 注意 请勿在未允许安装此模组的公共服务器上安装此模组。 虽然本模组尽力在服务端未安装该模组时禁用所有战斗相关功能,但不能保证其行为与原版完全一致。 在某些具有反作弊措施的服务器上,这甚至可能导致你被封禁...
?️ 展示
此处展示的所有功能均可在模组设置中单独切换。
- 剑的格挡


- 附魔药水(光效)

- 经典属性风格

- 经典摆动动画

- 减少的心跳闪烁(失去的生命值不再以浅红色闪烁)

- 瞬间潜行动画

- 经典的锋利度额外伤害(同时修复 MC-271840)

? 依赖
- Fabric API
- Cloth Config(仅客户端,用于访问配置界面)
- Mod Menu(仅客户端,用于访问配置界面)
⌨️ 命令
使用 /combat style 命令更改战斗风格:
# 将全局战斗风格设置为经典模式
/combat style minecraft:classic
# 切换回现代(1.9+)战斗模式,包括攻击冷却等
/combat style minecraft:modern
# 你也可以仅针对特定玩家更改战斗风格,例如以下示例中的你自己
/combat style minecraft:classic @s
设置一种风格将一次性配置一组功能。
例如,minecraft:classic 风格会禁用攻击冷却、恢复食物再生系统、更改钓鱼竿行为等。
然而,你也可以针对每个玩家单独配置每一项功能:
# 仅在全局范围内禁用攻击冷却
/combat set attackCooldown false
# 使附魔金苹果提供生命恢复 V 和吸收 I,而不是生命恢复 II 和吸收 IV
/combat set modernNotchApple false
# 使用 1.8 及更早版本的再生食物机制
/combat set modernRegeneration false
# 与战斗风格一样,你也可以仅为特定玩家配置功能,例如仅为自己禁用攻击冷却:
/combat set attackCooldown false @s
# 你可以这样获取某功能的当前设置:
/combat get attackCooldown
# 获取特定玩家的某项设置
/combat get attackCooldown @s
某些功能(如 modernDamageValues)不支持针对单个玩家设置,只能全局设置。
? 权限
要执行这些命令,你需要是服务器管理员(拥有 OP)或具有相应的权限:
| 功能 | 所需权限 |
|---|---|
| 使用战斗命令 | combat-control.command.combat |
| 设置战斗功能 | combat-control.command.combat.set |
| 设置单个战斗功能 | combat-control.command.combat.set.<feature> |
| 全局设置战斗功能 | combat-control.command.combat.set.global.<feature> |
| 获取战斗功能 | combat-control.command.combat.get |
| 获取单个战斗功能(全局、单独) | combat-control.command.combat.get.<feature> |
| 设置战斗风格 | combat-control.command.combat.style |
| 全局设置战斗风格 | combat-control.command.combat.style.global |
? 配置
你可以在 config/combat-control/config.toml 中配置所有功能。
保存配置文件后,任何更改都会自动加载。
无需重启游戏或重新加载任何内容。
如果你在客户端安装了 ModMenu,你也可以从那里配置所有功能。

? 致谢
本模组深受 Fuzss 的 Golden Age Combat 启发。 一些方法在过去被移植到了 yarn 映射中,但自首次引入以来已独立发展。 本项目中源自 Golden Age Combat 的代码已通过注释或文档注释进行了标注。 我们尊重 Golden Age Combat 的 MPL-2.0 许可证;本项目使用相同的许可证。
经典的 1.7.10 格挡动画方式部分移植自 Fuzss 的 sword-blocking-mechanics,同样基于 MPL-2.0 许可条款。 源自 sword-blocking-mechanics 的逻辑也已正确标注。
本项目作为一个独立模组存在的原因,是为了让每个玩家都能自定义战斗功能,并进行其他一些调整。
此外,PING_ADJUSTED 击退变体在功能上深受 CASELOAD7000 为 Bukkit、Folia 和 Fabric 开发的出色插件 knockback-sync 的启发。
它根据玩家的延迟计算击退效果。
重力模拟的值取自 Minecraft 移动代码以及 OrHy3 的 Minecraft Movement Tools。
我从 Intel Edits 的这个视频中获得了实现不同击退变体的灵感。
感谢 b0ps_ 创建了模组图标!
? 开发者 API
Combat-control 为开发者提供了 API,允许更改每个玩家的战斗风格和功能。 该 API 对每个玩家的每个 combat-control 功能提供细粒度的控制。
API 文档位于 GitHub。
?️ combat-control ?️
Bring back classic combat from 1.8.9 and earlier. Remove the attack cooldown and more!
❗ Important ❗
This mod doesn't change the combat by default. You have to use
/combat style minecraft:classicto enable classic combat.
All features of this mod can be configured individually, on a per-player basis. You can have some players using attack cooldown while others don't.
The mod is only required on the server, but having the mod installed on your client makes the experience better.
? Features
- remove the attack cooldown
- reintroduce sword blocking (vanilla-compatible since 1.21.5)
- block-hitting with swords
- axes and other tools deal less damage, like in 1.8.9
- revert food mechanics and fast regeneration
- make snowballs inflict knockback again
- make fishing rods inflict knockback
- different knockback variants improve hit combos
- disable fishing rod pulling, like on many PvP servers
- allow attacking while using a bow or eating, like in 1.7.10
- disable sweep attack with a sword when standing still. The Sweeping Edge enchantment will still trigger a sweep attack
- make critical hits possible while sprinting
- attacking no longer stops you from sprinting
- buff sharpness enchantment to add 1.25 attack damage per level, like in 1.8.9 and earlier
- remove modern combat sounds
- remove modern combat particles, such as the damage indicator
- revert enchanted golden apple ("notch apple") effects
- fishing rods pull entities slightly more upwards
- fishing rods take less durability damage when pulling entities
- make fishing rods play the old sounds
- the fishing rod bobber moves faster
- tools will take less durability damage when attacking with them
- remove the re-equip animation when using items like shields
- old bobbing animation with head tilt when jumping
- instant sneak animation
- old attribute style on weapons
- remove flashing hearts animation
- reintroduce potion enchantment glint
- display sharpness damage in the item tooltip again (fixes MC-271840)
- revert the projectile tolerance margin to a constant 0.3 blocks (from before Minecraft 1.21.6)
- allow projectile hits for entities that are intersecting with the owning player hitbox (changed in Minecraft 1.12.2)
- use classic snowball particle on impact
- decrease trident damage from 9 to 6 when using classic combat
- use classic third person sword blocking animation from Minecraft 1.7.10 and earlier
⚠️ CAUTION This mod should not be installed while playing on public servers that don't allow it. While this mod does its best to disable all combat-related features when the server doesn't have the mod, it isn't guaranteed that it behaves exactly like vanilla. On some servers with anti-cheat measures, this could even get you banned...
?️ Showcase
All features showcased here can be toggled individually in the mod settings.
- sword blocking


- enchanted potions (the glint effect)

- classic attribute style

- classic bobbing animation

- reduced heart flashing (lost hearts no longer flash in light red)

- instant sneak animation

- classic sharpness bonus damage (also fixes MC-271840)

? Requirements
- Fabric API
- Cloth Config (client only, to access the config screen)
- Mod Menu (client only, to access the config screen)
⌨️ Commands
Change the combat style with the /combat style command:
# set the global combat style to classic
/combat style minecraft:classic
# switch back to modern (1.9+) combat with attack cooldown etc.
/combat style minecraft:modern
# you can also change the combat style only for certain players, e.g. yourself in this example
/combat style minecraft:classic @s
Setting a style will configure a set of features at once.
The minecraft:classic style, for example, disables attack cooldown, reverts the food regeneration system, changes behaviour of fishing rods and more.
However, you can also configure each feature individually, per-player:
# disable only attack cooldown globally
/combat set attackCooldown false
# make the enchanted golden apple grant regeneration 5 and absorption 1, instead of regeneration 2 and absorption 4
/combat set modernNotchApple false
# use 1.8 and earlier regeneration food mechanics
/combat set modernRegeneration false
# as with the combat style, you can also only configure features for certain players, e.g. disable attack cooldown for yourself:
/combat set attackCooldown false @s
# you can get the current setting of a feature like this:
/combat get attackCooldown
# get a setting of a specific player
/combat get attackCooldown @s
Some features, like modernDamageValues, don't work for individual players and can only be set globally.
? Permissions
To execute those commands, you need to be a server operator (have OP) or have the corresponding permissions:
| Feature | Required permission |
|---|---|
| Use combat command | combat-control.command.combat |
| Set combat features | combat-control.command.combat.set |
| Set a combat feature | combat-control.command.combat.set.<feature> |
| Set a combat feature globally | combat-control.command.combat.set.global.<feature> |
| Get combat features | combat-control.command.combat.get |
| Get a combat feature (globally, individually) | combat-control.command.combat.get.<feature> |
| Set combat styles | combat-control.command.combat.style |
| Set combat style globally | combat-control.command.combat.style.global |
? Config
You can configure all features in config/combat-control/config.toml.
Once you save the config, any changes will automatically be loaded.
No need to restart your game or reload anything.
If you have ModMenu installed on the client, you can also configure all features from there.

? Acknowledgements
This mod is heavily inspired by Golden Age Combat by Fuzss. Some methods were ported to yarn mappings in the past, but evolved independently since first introduction. Code in this project that is originally from Golden Age Combat is annotated with a comment or doc-comment. The MPL-2.0 license from Golden Age Combat is respected; this project uses the same license.
The classic 1.7.10 blocking animation approach was partly ported from sword-blocking-mechanics by Fuzss, licensed also under the terms of the MPL-2.0. Logic originating from sword-blocking-mechanics is also properly annotated.
The reason why this project exists as a separate mod, is to make the combat configurable for each player, alongside with some other adjustments.
Also, the PING_ADJUSTED knockback variant is heavily inspired in functionality by the awesome knockback-sync plugin by CASELOAD7000 for Bukkit, Folia and Fabric.
It calculates a player's knockback depending on their network latency.
The values for the gravity simulation are taken from the Minecraft movement code and from Minecraft Movement Tools by OrHy3.
I got the motivation for implementing different knockback variants from this video by Intel Edits.
Thanks to b0ps_ for creating the mod icon!
? API for developers
Combat-control offers an API for developers that allows for changing each players' combat style and features. The API offers fine-grained control of every combat-control feature, for every player.
The API is documented on GitHub.
下载 Combat Control
下载 Combat Control
下载 Combat Control
下载 Combat Control
下载 Combat Control
下载 Combat Control
下载 Combat Control
下载 Combat Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Combat Control
下载 Combat Control
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 已更新到 Minecraft 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧