Minecraft Data Packs / Other

Swap Item [Data Pack]

  • check_circle Functions
  • check_circle Predicates
  • 3,956 views, 7 today
  • 83 downloads, 0 today
  • 17
  • 11
Nico4play's Avatar Nico4play
Level 54 : Grandmaster Princess
61

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

🎬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

Swap Item [Data Pack] Minecraft Data PackSwap Item [Data Pack] Minecraft Data Pack
CompatibilityMinecraft 1.19
toMinecraft 1.20
Tags

4 Update Logs

v1.1.2 (1.20.3/4) - 13 Jan. 2024 : by Nico4play 01/12/2024 7:52:27 pmJan 12th

🔷General

  • Updated to 1.20.3/4

🔧Improvements

  • General improvements to the data pack structure and understandability

💻Technical

  • Changed the scoreboard the Data Pack use to a custom named one, so it doesn't interfere with other Packs
LOAD MORE LOGS
Comments have been disabled on this content.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome