Swap Item
No reviews yet
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 any mob!
Data Packs were introduced to vanilla Minecraft in version 1.13 and allow the server to modify data about the game, or run commands. Data Packs are compatible with all mod loaders.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Quilt is a fork of the Fabric mod loader. Many Fabric mods are compatible with Quilt and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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
/reloadcommand
Mod
- 1) Download the Mod
- 2) Navigate to your
modsfolder (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
/reloadcommand
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
| 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.offhandSwap the item you are holding with the item in the offhand slotof the entity you are looking at.
/trigger swapitem.entity.headSwap the item you are holding with the item in the head slotof the entity you are looking at.
/trigger swapitem.entity.chestSwap the item you are holding with the item in the chest slotof the entity you are looking at.
/trigger swapitem.entity.legsSwap the item you are holding with the item in the legs slotof the entity you are looking at.
/trigger swapitem.entity.feetSwap the item you are holding with the item in the feet slotof 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
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources