Stun Slam
A mod that detects successful Stun Slams and displays a customizable animation when one is performed.
Features
- Detects the Stun Slam sequence:
- Axe attack
- Shield stun
- Falling attack
- Mace hit on the same target
- Ignores ordinary mace hits.
- Custom 2-frame Stun Slam animation.
- Configurable animation duration.
- Configurable animation size.
- Configurable X and Y screen position.
- Position is constrained so the animation stays completely on-screen.
- Settings are saved automatically.
- Mod Menu integration.
- Client-side only.
Configuration
Open:
Mod Menu → Stun Slam
Available settings:
| Setting |
Range |
Default |
| Animation Duration |
40–300 ms |
128 ms |
| Animation Size |
64–256 px |
130 px |
| Position X |
0–100% |
50% |
| Position Y |
0–100% |
51% |
The animation height automatically scales with the original texture aspect ratio.
Installation
- Install Fabric Loader for your Minecraft version.
- Install Fabric API.
- Install Mod Menu.
- Place the Stun Slam
.jar file into your mods folder.
- Launch Minecraft.
Requirements
- Minecraft 1.21.11
- Fabric Loader
- Fabric API
- Mod Menu
- Java 21 or newer
Client-Side
Stun Slam is a client-side mod. It does not need to be installed on the server.
License
This project is licensed under the MIT License.