- check_circle Functions
- check_circle Predicates
- 4,330 views, 10 today
- 91 downloads, 0 today
65
Swap Item
Swap items between 2 slots.
❗️Note❗️ If you use either the Data Pack or the Mod, make sure, once installed, to run the "/reload" command.
📖Features
This Data Pack allows you to swap two inventory slots between the player and an entity and even put any item in your head slot. The commands are the following:
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 item you are holding with the item in the head slot of the entity you are looking at. |
/trigger swapitem.entity.chest | Swap the item you are holding with the item in the chest slot of the entity you are looking at. |
/trigger swapitem.entity.legs | Swap the item you are holding with the item in the legs slot of the entity you are looking at. |
/trigger swapitem.entity.feet | Swap the item you are holding with the item in the feet slot of the entity you are looking at. |
/trigger swapitem.head | Puts the item you are holding in your head slot. |
🎬ShowCase
📤Uninstall the DataPack
To uninstall the Data Pack run the command "/function swap_item:uninstall" .When the uninstallation process is completed a confirmation message will be sent in the chat.
🔗External links
Compatibility | Minecraft 1.19 |
to | Minecraft 1.20 |
Tags |
5 Update Logs
v1.2 (1.20.5-1.20.6) - 8 May 2024 : by Nico4play 05/08/2024 1:20:53 pmMay 8th
🔷General
- Updated to 1.20.5 / 1.20.6
🔧Improvements
- Further improvements to the Data Pack's structure and understandability
🐛Fixes
- Fixed a bug where the "swap" sound would play even if the 2 swapped slots were empty
- Corrected some grammatical errors in the error message that pops up when trying to swap 2 invalid slots
LOAD MORE LOGS
Comments have been disabled on this content.
5882537
119