
Trigger Swing
A simple mod that prevents you from swinging your weapon in the air. Only attacks when aiming at entities.
Screenshots


About this Mod
🎯 Trigger Swing
Trigger Swing is a simple but powerful client-side mod for Minecraft that prevents you from swinging your weapon in the air. It ensures that you only attack when your crosshair is actually aimed at an entity (players, mobs, or animals).
✨ Features
- No more wasted swings – Swing your weapon only when it actually hits something
- Perfect for PvP – Avoid giving away your position by swinging in the air
- Smooth gameplay – No lag, no delays, just natural combat
- Lightweight – Minimal performance impact
- Client-side only – Works on any server without needing to install on the server
🎮 How it Works
- When you click your attack button while aiming at air or blocks → Nothing happens (no swing, no sound)
- When you click your attack button while aiming at a player, mob, or animal → Normal attack with full damage
🔧 Installation
- Install Fabric Loader
- Download the mod from Modrinth
- Place the
.jarfile in yourmodsfolder - Launch the game and enjoy!
📋 Requirements
- Minecraft 1.20.1+
- Fabric API
- Fabric Loader
❓ FAQ
Q: Will this work on servers?
A: Yes! This is a client-side mod, so it works on any server without needing to be installed on the server side.
Q: Does it affect block breaking?
A: No, breaking blocks works normally. The mod only affects attacking (damage dealing).
Q: Can I disable it?
A: Currently, the mod is always active. Toggle feature coming in future updates!
💬 Join the Community
Join our Discord for updates, support, and to suggest new features!
👤 Author
0zjit – Creator & Developer
Made with ❤️ for the Minecraft community
Available Versions
How to Install Trigger Swing on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Trigger Swing". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7, 1.21.6 (+12 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Trigger Swing server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Trigger Swing compatible with fabric?
Trigger Swing officially supports fabric for Minecraft 1.21.8, 1.21.7, 1.21.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Trigger Swing – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Trigger Swing consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Trigger Swing with just one click on your server.