Swap Item

⭐ — (20 endorsements) 📥 4,346 downloads 📌 v1.3.2-mc26.2+mod 📅 3/14/2023
🟡 Updated this year

By Nico4play · datapack

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 6/28/2026 📅 Created: 3/14/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.5% endorsement rate
  • 🏆 #205 of 253 datapack mods in this game by downloads

📋 About This Mod

# Swap Item > A Data Pack / Mod that adds a bunch of new commands that allows players to swap the item they are holding with the target slot of a mob! # 📥How to Install Choose if you want to download the pure **Data Pack** version or the **Mod** version and follow the steps accordingly. <details close> <summary>Data Pack</summary> * **1)** Download the Datapack * **2)** Chose the world you want to install the Data Pack in and navigate to its "_datapacks_" folder * **3)** Copy the downloaded Data Pack file (Swap Item) into this folder * **4)** Join the world and run <code>/reload</code> command </details> <details close> <summary>Mod</summary> * **1)** Download the Mod * **2)** Navigate to your <code>mods</code> folder (for the vanilla launcher the path is <code>.minecraft/mods</code> * **3)** Put the downloaded .jar file (Swap Item) into this folder * **4)** Join the world and run <code>/reload</code> command ### The Mod version of this Data Pack is compatibile with Fabric, Forge, Quilt and NeoForge Note: _support for NeoForge is available starting from version **1.2.2** of the pack_ </details> # 📖Features This Data Pack introduces a bunch of new commands that allow you to **swap two inventory slots** between the player and an entity. Plus, as a bonus, you can now place any item in your **head slot**! Following the **list** of the **commands** and their **effects**. <details close> <summary>Commands</summary> <table><thead><tr><th><font>Command</font></th><th>Effect</th></tr></thead><tbody><tr><td><code>/trigger swapitem.entity.mainhand</code></td><td>Swap the item you are holding with the item in the <b>mainhand slot</b><br>of the entity you are looking at.</td></tr> <td><code>/trigger swapitem.entity.offhand</code></td><td>Swap the item you are holding with the item in the <b>offhand slot</b><br>of the entity you are looking at.</td></tr> <td><code>/trigger swapitem.entity.head</code></td><td>Swap the item you are holding with the item in the <b>head slot</b><br>of the entity you are looking at.</td></tr> <td><code>/trigger swapitem.entity.chest</code></td><td>Swap the item you are holding with the item in the <b>chest slot</b><br>of the entity you are looking at.</td></tr> <td><code>/trigger swapitem.entity.legs</code></td><td>Swap the item you are holding with the item in the <b>legs slot</b><br>of the entity you are looking at.</td></tr> <td><code>/trigger swapitem.entity.feet</code></td><td>Swap the item you are holding with the item in the <b>feet slot</b><br>of the entity you are looking at.</td></tr> <td><code>/trigger swapitem.head</code></td><td>Puts the item you are holding in <b>your head slot</b>.</td></tr></tbody></table> </details> <details close> <summary>YouTube Showcase</summary> <center><iframe width="560" height="315" src="https://www.youtube.com/embed/H5FPyZbtQCA" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe></center> </details> # 📤How to Uninstall <details close> <summary>Data Pack</summary> To uninstall the **Data Pack version** you can just run <code>/function swap_item:uninstall</code> command. When the uninstallation process is completed a confirmation message will be sent in the chat. </details> <details close> <summary>Mod</summary> To uninstall the **Mod version** you need to run <code>/function swap_item:uninstall</code> command. Then you close the game and remove the **jar** file from your <code>.minecraft/mods</code> folder. </details> ## 🔗External links <a href="https://www.curseforge.com/members/nico4play/projects"><img src="https://i.imgur.com/B6lsNn0.png" width="40" /></a> <a href="https://www.planetminecraft.com/member/nico4play/"><img src="https://i.imgur.com/PTAiKsV.png" width="40" /></a>

# Swap Item > A Data Pack / Mod that adds a bunch of new commands that allows players to swap the item they are holding with the target slot of a mob!

# 📥How to Install Choose if you want to download the pure Data Pack version or the Mod version and follow the steps accordingly.

Data Pack

1) Download the Datapack 2) Chose the world you want to install the Data Pack in and navigate to its "_datapacks_" folder 3) Copy the downloaded Data Pack file (Swap Item) into this folder 4) Join the world and run /reload command

Mod

1) Download the Mod 2) Navigate to your mods folder (for the vanilla launcher the path is .minecraft/mods 3) Put the downloaded .jar file (Swap Item) into this folder 4) Join the world and run /reload command ### The Mod version of this Data Pack is compatibile with Fabric, Forge, Quilt and NeoForge Note: _support for NeoForge is available starting from version 1. 2. 2 of the pack_

# 📖Features This Data Pack introduces a bunch of new commands that allow you to swap two inventory slots between the player and an entity. Plus, as a bonus, you can now place any item in your head slot! Following the list of the commands and their effects.

Commands

CommandEffect
/trigger swapitem.entity.mainhandSwap the item you are holding with the item in the mainhand slot of the entity you are looking at.
/trigger swapitem.entity.offhandSwap the item you are holding with the item in the offhand slot of the entity you are looking at.
/trigger swapitem.entity.headSwap the item you are holding with the item in the head slot of the entity you are looking at.
/trigger swapitem.entity.chestSwap the item you are holding with the item in the chest slot of the entity you are looking at.
/trigger swapitem.entity.legsSwap the item you are holding with the item in the legs slot of the entity you are looking at.
/trigger swapitem.entity.feetSwap the item you are holding with the item in the feet slot of the entity you are looking at.
/trigger swapitem.headPuts the item you are holding in your head slot.

YouTube Showcase

# 📤How to Uninstall

Data Pack

To uninstall the Data Pack version you can just run /function swap_item:uninstall command. When the uninstallation process is completed a confirmation message will be sent in the chat.

Mod

To uninstall the Mod version you need to run /function swap_item:uninstall command. Then you close the game and remove the jar file from your .minecraft/mods folder.

## 🔗External links

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Nico4play
Version
1.3.2-mc26.2+mod
Downloads
4,346
Endorsements
20
Category
datapack
Created
3/14/2023
Updated
6/28/2026
Game Versions
26.2
Tags
decoration, mobs, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Swap Item support?

The author lists 26.2. Other versions may work but are untested by the author.

What is the latest version of Swap Item?

Version 1.3.2-mc26.2+mod, published 2026-06-28 with 4,346 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More datapack 👤 More by Nico4play 🔎 Similar Mods 🌐 Best datapack (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods