Swap Item

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 any mob!

5 274 downloads 21 followers

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
<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>

📤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

No gallery available for this project.

Version Minecraft Loader Download

Swap Item v1.3.3 - 26.3

1.3.3-mc26.3+mod

26.3
fabric, forge, neoforge, quilt
Download

Swap Item v1.3.3 - 26.3

1.3.3-mc26.3

26.3
datapack
Download

Swap Item v1.3.2 - 26.2

1.3.2-mc26.2+mod

26.2
fabric, forge, neoforge, quilt
Download

Swap Item v1.3.2 - 26.2

1.3.2-mc26.2

26.2
datapack
Download

Swap Item v1.3.2 - 26.1

1.3.2-mc26.1+mod

26.1, 26.1.1, 26.1.2
fabric, forge, neoforge, quilt
Download

Swap Item v1.3.2 - 26.1

1.3.2-mc26.1

26.1, 26.1.1, 26.1.2
datapack
Download

Swap Item v1.3.1 - 26.1

1.3.1-mc26.1+mod

26.1
fabric, forge, neoforge, quilt
Download

Swap Item v1.3.1 - 26.1

1.3.1-mc26.1

26.1
datapack
Download

[Mod] Swap Item v1.3.1 - 1.21.11

1.3.1-mc1.21.11+mod

1.21.11
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.3.1 - 1.21.11

1.3.1-mc1.21.11

1.21.11
datapack
Download

[Mod] Swap Item v1.3.1 - 1.21.9-1.21.10

1.3.1-mc1.21.10+mod

1.21.10, 1.21.9
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.3.1 - 1.21.9-1.21.10

1.3.1-mc1.21.10

1.21.10, 1.21.9
datapack
Download

[Mod] Swap Item v1.3 - 1.21.9-1.21.10

1.3-mc1.21.9+mod

1.21.10, 1.21.9
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.3 - 1.21.9-1.21.10

1.3-mc1.21.9

1.21.10, 1.21.9
datapack
Download

[Mod] Swap Item v1.2.4 - 1.21.6

1.2.4-mc1.21.6+mod

1.21.6, 1.21.7, 1.21.8
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.2.4 - 1.21.6

1.2.4-mc1.21.6

1.21.6, 1.21.7, 1.21.8
datapack
Download

[Mod] Swap Item v1.2.3 - 1.21.5

1.2.3-mc1.21.5+mod

1.21.5
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.2.3 - 1.21.5

1.2.3-mc1.21.5

1.21.5
datapack
Download

[Mod] Swap Item v1.2.2 - 1.21.4

1.2.2-mc1.21.4+mod

1.21.4
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.2.2 - 1.21.4

1.2.2-mc1.21.4

1.21.4
datapack
Download

[Mod] Swap Item v1.2.2 - (1.21.2-1.21.3)

1.2.2-mc1.21.3+mod

1.21.2, 1.21.3
fabric, forge, neoforge, quilt
Download

[DP] Swap Item v1.2.2 - (1.21.2-1.21.3)

1.2.2-mc1.21.3

1.21.2, 1.21.3
datapack
Download

[Mod] Swap Item v1.2.1 - 1.21

1.2.1+1.21+mod

1.21, 1.21.1
fabric, forge, quilt
Download

[DP] Swap Item v1.2.1 - 1.21

1.2.1+1.21

1.21, 1.21.1
datapack
Download

[Mod] Swap Item v1.2 - (1.20.5-1.20.6)

1.2+1.20.6+mod

1.20.5, 1.20.6
fabric, forge, quilt
Download

[DP] Swap Item v1.2 - (1.20.5-1.20.6)

1.2+1.20.6

1.20.5, 1.20.6
datapack
Download

[Mod] Swap Item v1.1.3 - (1.20.3-1.20.4)

1.1.3-mc1.20.4+mod

1.20.3, 1.20.4
fabric, forge, quilt
Download

[DP] Swap Item v1.1.3 - (1.20.3-1.20.4)

1.1.3-mc1.20.4

1.20.3, 1.20.4
datapack
Download

[Mod] Swap Item v1.1.3 - 1.20.2

1.1.3+mod

1.20.2
fabric, forge, quilt
Download

[DP] Swap Item v1.1.3 - 1.20.2

1.1.3

1.20.2
datapack
Download

[Mod] Swap Item v1.1.1 - 1.20

1.1.1+mod

1.20, 1.20.1
fabric, forge, quilt
Download

[DP] Swap Item v1.1.1 - 1.20

1.1.1

1.20, 1.20.1
datapack
Download

[Mod] SwapItem v1.1 - 1.19

1.1+mod

1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
fabric, forge, quilt
Download

[DP] SwapItem v1.1 - 1.19

1.1

1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4
datapack
Download