Directional Combat
This is a dynamic directional melee system where every attack's effectiveness depends on your position, weapon, and timing. Strike from behind for devastating backstabs, stagger foes with side attacks, or break through defenses with overhead blows.
介绍
Directional Combat
Directional Combat is a dynamic directional melee system for Minecraft Fabric where every attack’s effectiveness depends on your position, weapon, and timing. Strike from behind for devastating backstabs, stagger foes with side attacks, or break through defenses with overhead blows. Every hit shapes the flow of battle, unlocking combo bonuses, special effects, and unique mob interactions.
Key Features
- Directional Damage — Backstab, Side Strike, and Frontal Guard, each with unique multipliers, armor effects, and knockback.
- Vertical Combat — Overhead and underfoot attacks grant bonus or reduced damage.
- Combo System — Chain hits for escalating damage and finisher effects.
- Mob Specialization — Optional per-mob vulnerabilities and resistances (e.g., zombies, golems, skeletons).
- Weapon Type Bonuses — Swords, axes, and more each excel at different attack types.
- Parry & Exhaustion (Optional) — Parry windows, damage reflection, and hunger costs for advanced play.
- Sound & Particle Feedback — Directional audio cues and particles for hits, combos, and blocks.
- Combat Statistics — Per-player stats tracked and viewable in-game.
- Fully Configurable — Every multiplier, threshold, and toggle is exposed in the config file.
How It Works
Directional Hits
Every melee attack is classified by angle:
| Type | Angle | Effect |
|---|---|---|
| Backstab | Behind | Highest damage, armor penetration, reduced knockback |
| Side Strike | Side | Moderate damage, increased knockback, chance to stagger |
| Frontal Guard | Front | Reduced damage, bonus armor, shield bonus |
Vertical Attacks
| Type | Condition | Effect |
|---|---|---|
| Overhead | Above | Bonus damage, extra knockback |
| Underfoot | Below | Reduced damage |
Combo System
Consecutive hits build a combo multiplier:
- Up to 5x combo stack
- +2% damage per combo level
- Variety bonus for mixing attack types
- Special sound/particle on finisher
Mob Specialization & Weapon Types
- Optional per-mob bonuses (e.g., zombies take more from backstabs)
- Weapon classes (sword, axe, etc.) have unique strengths for each attack type
Parry & Exhaustion
- Parry window (configurable ticks) reflects damage if timed right
- Special attacks (backstab, overhead, combos) cost hunger
Passive Effects by Attack Type
| Attack | Effect |
|---|---|
| Backstab | +15% damage, +10% armor penetration, -30% knockback |
| Side Strike | +5% damage, +15% knockback, 10% stagger chance |
| Frontal Guard | -10% damage, +5% armor, +10% shield bonus |
| Overhead | +12% damage, +10% knockback |
| Underfoot | -8% damage |
Apex Abilities
At max combo, trigger a finisher:
| Combo Level | Effect |
|---|---|
| 5 | Special sound, bonus damage, particle burst |
Mob Perception & Specialization
Optional: Certain mobs have unique vulnerabilities or resistances to attack types (see config for details).
The Fracture System
Not present in Directional Combat. (No soul fracture mechanic.)
Momentum System
Combo system acts as momentum: consecutive hits increase damage up to a cap, resets on timeout.
Anti-Grinder Protection
Not present in Directional Combat. (No anti-grinder system.)
Commands
All commands are under /dircombat (alias /dc):
| Command | Permission | Description |
|---|---|---|
/dircombat stats |
All | Show combat statistics |
/dircombat reset |
All | Reset your combat statistics and combo |
/dircombat info |
All | Show mod status and config values |
/dircombat toggle |
OP (Level 2) | Toggle the mod on/off |
/dircombat reload |
OP (Level 2) | Reload configuration |
Visual Indicators
| State | Particle Effect |
|---|---|
| Backstab | Crit particles |
| Side Strike | Sweep attack particles |
| Overhead | Knockback particles |
| Combo Finisher | Experience orb sound, burst particles |
| Shield Block | Shield block sound |
Configuration
Config file location: .minecraft/config/directional-combat.json
{
"globalEnabled": true,
"backstabDamageMultiplier": 1.15,
"backstabArmorPenetration": 0.10,
"backstabKnockbackReduction": 0.3,
"sideStrikeDamageMultiplier": 1.05,
"sideStrikeKnockbackIncrease": 0.15,
"sideStrikeStaggerChance": 0.10,
"frontalGuardDamageReduction": 0.90,
"frontalGuardArmorBonus": 0.05,
"frontalGuardShieldBonus": 0.10,
"verticalAttacksEnabled": true,
"overheadDamageMultiplier": 1.12,
"underfootDamageReduction": 0.92,
"weaponTypeBonusesEnabled": true,
"comboSystemEnabled": true,
"comboTimeoutMs": 3000,
"maxComboCount": 5,
"comboBaseDamageBonus": 0.02,
"comboVarietyBonus": 0.01,
"maxComboMultiplier": 1.15,
"soundFeedbackEnabled": true,
"soundVolume": 0.7,
"statisticsTrackingEnabled": true,
"mobSpecializationEnabled": false,
"parrySystemEnabled": false,
"parryWindowTicks": 5,
"parryDamageReflection": 0.25,
"parryStaminaCost": 0.15,
"exhaustionEnabled": true,
"backstabExhaustion": 0.3,
"comboExhaustion": 0.1,
"overheadExhaustion": 0.2
}
Installation
- Install Fabric Loader (0.15.0 or newer) for Minecraft 1.20.1.
- Install Fabric API (compatible with 1.20.1).
- Download the mod JAR file.
- Place the JAR into your
.minecraft/modsfolder (or server mods folder). - Launch Minecraft with the Fabric profile.
Building from Source
Clone the repository and run the Gradle build:
git clone https://github.com/AaravVishal1/directional-combat
cd directional-combat
./gradlew build
The compiled JAR will be in build/libs/.
For development:
./gradlew runClient # Run Minecraft client
./gradlew runServer # Run dedicated server
Requirements
| Dependency | Version |
|---|---|
| Minecraft | 1.20.1 |
| Fabric Loader | 0.15.0+ |
| Fabric API | compatible |
| Java | 17+ |
Troubleshooting
Directional effects not working
- Check that
globalEnabledistruein the config. - Ensure mixins are applied (check logs).
- Verify you are using a supported Fabric/Minecraft version.
Combos not applying
- Ensure
comboSystemEnabledistrue. - Check that server tick events are running.
Sounds/particles missing
- Confirm
soundFeedbackEnabledistrue. - Ensure server allows particle spawning.
Mob specializations not working
- Set
mobSpecializationEnabledtotrue. - Check per-mob config values.
License
This project is licensed under the MIT License. See LICENSE for details.
常见问题
Directional Combat 支持哪些 Minecraft 版本?
Directional Combat 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Directional Combat 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
user_a28irxr2yltp4leb 的其他作品
查看全部 →Adaptive Mobs
Adaptive Mobs 是一个适用于 Minecraft Fabric 的 AI 模组,让敌对生物学习并适应你的战斗风格。生物不会增强属性,而是根据你的战斗方式改变战术,让战斗既新鲜又富有挑战性,同时不会不公平。
Inventory Weights
Inventory Weight is a realistic encumbrance system mod for Minecraft that applies movement penalties based on how heavy your inventory is.
Rivalry & Tactics
Rivalry & Tactics is a combat mod for Minecraft that transforms hostile mobs into intelligent adversaries. Instead of static AI, mobs develop rivalries, coordinate tactically, and adapt to your combat style.
Sentient Tools
Sentient Tools is a vanilla‑adjacent Minecraft mod where tools and weapons slowly develop personalities based on how you play. The goal is subtle, atmospheric feedback—not loud events or constant buffs. Your tools feel alive, but never intrusive.
评论
登录后评论和评分