This Data Pack allows you to swap item slot between the player and an entity! This is a very useful feature since you can make every mob hold or wear preatty much what you want.
/reload command This Data Pack add a bunch of new commands that allows you to swap two inventory slots between the player and an entity, and even put 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.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. |
- YouTube Showcase
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.