Mineuniverse
Log in Register
Mods

Mannequin Swing

This mod adds support for swing animations on mannequins.
by RubenVerg
Download Claim this project
218 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Cosmetic

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();
	}
}
mannequinswing-forge-1.21.11-1.0.0.jar
MC Client, Forge, Server, 1.21.11
Release 2026-02-20 Get
mannequinswing-neoforge-1.21.11-1.0.0.jar
MC Client, NeoForge, Server, 1.21.11
Release 2026-02-20 Get
mannequinswing-fabric-1.21.11-1.0.0.jar
MC Client, Fabric, Server, 1.21.11
Release 2026-02-20 Get

More from RubenVerg

GregTech Molecule Drawings
396,802
GTCEu Greenhouse
1,274

You Might Also Like

Thaumon
Thaumcraft-inspired decoration blocks for modern Minecraft
9,980,238
Handcrafted
Make your house a home!
99,029,678
Fancy Block Particles - Renewed
3D Digging Particles! Original mod by MorphoxL
997,906
Door(s) Coupling [FABRIC]
Couplings for Fabric 1.16
993,161
I Like Wood
This mod adds wood variants to blocks that should have them but don't and new wooden blocks.
992,209
Addendum (Fabric)
Adding new blocks to fit your ender palette! Port of Additional Ender Blocks by cleverpanda714.
991,763