Advanced auto-combat system with shield-break combos, mace fall strikes, and a clean glass-morphism ClickGUI bound to Right Shift.
Automatically attacks when all three conditions are met:
- Crosshair is aimed at a living entity
- Target is within the configured range (default 3 blocks)
- Attack cooldown is 100 % reset (
getAttackCooldownProgress == 1.0)
| Weapon | Attack Speed | Cooldown |
|---|---|---|
| Sword | 1.6 /s | 625 ms |
| Axe | 1.0 /s | 1 000 ms |
| Mace | 0.6 /s | 1 667 ms |
| Trident | 1.1 /s | 909 ms |
| Pickaxe | 1.2 /s | 833 ms |
| Shovel | 1.0 /s | 1 000 ms |
| Fist / Hoe | 4.0 /s | 250 ms |
When the target is blocking with a shield:
- Swap hotbar slot → first axe found
- Swing axe × 2 (spaced by axe cooldown) — disables shield
- Swap back to original slot
When the player is falling + mace in hotbar + target is blocking:
- Swap → axe → 1 hit (breaks shield)
- Swap → mace → fall strike (maximum smash damage)
- Swap back to original slot
- Open / Close:
Right Shift - Drag panel headers to reposition
- Click the toggle pill on a module header to enable/disable
- Click the expand arrow (▴/▾) to show/hide settings
- Float sliders: click and drag within the slider track
- Bool settings: click the toggle pill in the settings row
- Java 21
- Minecraft 1.21.11
- Fabric Loader ≥ 0.16.0
- Fabric API for 1.21.11
# Clone / unzip the project
cd trigauc-1.21.11
# Generate Gradle wrapper (first time only)
gradle wrapper --gradle-version 8.8
# Build the mod JAR
./gradlew build
# Output: build/libs/trigauc-1.0.0.jar- Copy
build/libs/trigauc-1.0.0.jarinto your.minecraft/mods/folder. - Make sure Fabric Loader and Fabric API are also installed.
- Launch Minecraft 1.21.11 with the Fabric profile.
trigauc-1.21.11/
├── build.gradle
├── gradle.properties
├── settings.gradle
├── gradle/wrapper/gradle-wrapper.properties
└── src/main/
├── java/com/trigauc/
│ ├── TrigAUCMod.java ← entrypoint, keybind registration
│ ├── combat/
│ │ └── TrigAUC.java ← all combat logic & combo state machine
│ ├── gui/
│ │ ├── ClickGUI.java ← aesthetic glass-morphism screen
│ │ └── Module.java ← module + setting data classes
│ ├── mixin/
│ │ ├── GameRendererMixin.java ← crosshair HUD indicator
│ │ └── KeyboardMixin.java ← reserved for key suppression
│ └── util/
│ └── WeaponUtil.java ← cooldown constants + slot helpers
└── resources/
├── fabric.mod.json
└── trigauc.mixins.json
- Add new modules in
ClickGUI.init()withnew Module(...). - Add
FloatSetting/BoolSettingto expose slider/toggle controls. - Sync values back to your feature class the same way
syncSettings()feedsTrigAUC.
MIT — use freely, credit appreciated.