Mannequin Swing
This mod adds support for swing animations on mannequins.
About this Mod
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();
}
}
Available Versions
How to Install Mannequin 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.11).
Install Mod
Open the mod browser in the dashboard and search for "Mannequin Swing". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Mannequin 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.11). You can switch loaders with one click in the panel.
Is Mannequin Swing compatible with fabric and forge and neoforge?
Mannequin Swing officially supports fabric, forge, neoforge for Minecraft 1.21.11. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Mannequin Swing – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Mannequin 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 Mannequin Swing with just one click on your server.