Mannequin Swing
This mod adds support for swing animations on mannequins. It does not add any new way to cause a swing animation, such as the /swing command from the 26.1 snapshots.
Technical details
LivingEntity has a method updateSwingTime that needs to be called both on the client and on the server to allow an entity to swing its arms. However, it is only used by Players and monsters. This mod adds a call in Mannequins' aiStep function, through the technique of submixins.
@Mixin(LivingEntity.class)
public class LivingEntityMixin {
@Shadow
protected void updateSwingTime() {};
@WrapMethod(method = "aiStep")
public void overrideAiStep(Operation<Void> original) {
original.call();
}
}
@Mixin(Mannequin.class)
public class MannequinSubMixin extends LivingEntityMixin {
@Override
public void overrideAiStep(Operation<Void> original) {
super.overrideAiStep(original);
updateSwingTime();
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as mannequinswing-forge-1.21.11-1.0.0.jar — drop this file into the mods folder
- Download size: 11 KB
- Download link checked 9 Sept 2026 — working
These come from our own check of the pack file, not from the source page.