Swap Item
by Nico4play
Swap Item is a server-side data pack that adds commands letting a player exchange the item in hand with the gear of a targeted mob.
What it does
A data pack is a set of game scripts loaded from a world, so Swap Item works without a client mod being required. Installing it means choosing the world, opening its datapacks folder and copying the Data Pack file into it. The mod's own files sit in the mods folder of a vanilla launcher install, at .minecraft/mods. The commands cover the main hand, offhand, head, chest, legs and feet slots of an entity the player is looking at. Each trigger swaps the held item with the chosen slot. A separate trigger puts the held item into the head slot. Because the scripts run on the server, every player on a server that loads the pack can use them, and the client needs no changes.
Swap Item is published for Fabric, Forge, NeoForge and Quilt, and as a data pack, across 29 release versions covering 1.19 – 26.3. The latest files are for 26.3, dated 2026-09-20. The mod is released under All rights reserved and is not open source.
Key features
Hand-to-slot swapping
The held item trades places with the main hand, offhand or any armor slot of a targeted entity.
Head slot trigger
A dedicated trigger places the held item directly into the head slot of the targeted entity.
Chat confirmation on uninstall
Running the uninstall function prints a message to chat once the removal finishes.
Command-based control
Every swap is a command trigger, so server owners can script or restrict how it is used.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
More Stands is server-side and released under All rights reserved, with files for 1.21.4 – 26.2 on Fabric, Forge, NeoForge and Quilt. Automatic Tool Swap is client-side only and open source under the Apache License 2.0, covering 1.16.2 – 26.3 on Forge and NeoForge, so it works on a player's client without a server. Armor Quick Swap is open source under the Mozilla Public License 2.0 and can run on a client, a server or both, for 1.20.1 – 26.3.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Swap Item | Fabric, Forge, NeoForge and Quilt | 1.19 – 26.3 | Server required, client optional | 2026-09-20 |
| More Stands | Fabric, Forge, NeoForge and Quilt | 1.21.4 – 26.2 | Server required, client optional | 2026-06-28 |
| Automatic Tool Swap | Forge and NeoForge | 1.16.2 – 26.3 | Client-side only | 2026-09-30 |
| Armor Quick Swap | Fabric, Forge and NeoForge | 1.20.1 – 26.3 | Client or server, optional | 2026-09-27 |
Questions
Does Swap Item need to be installed on the server?
Which loaders can run Swap Item?
How is Swap Item removed safely?
In the catalog
Swap Item is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 8,071 mods support Minecraft 26.3.
More from Nico4play
Similar mods
What the author says
Command Effect /trigger swapitem.entity.mainhand Swap the item you are holding with the item in the mainhand slot of the entity you are looking at. /trigger swapitem.entity.offhand Swap the item you are holding with the item in the offhand slot of the entity you are looking at. /trigger swapitem.entity.head Swap the…
Official listing
- Modrinth page
- modrinth.com/mod/swap-item
- Owner
- Nico4play
- Published
- 2023-02-11
- Updated on Modrinth
- 2026-09-20
- Facts verified
- 2026-10-15
