跳到正文

Swap Item [Data Pack]

作者:Nico4play

A Data Pack that adds a bunch of new commands that allows players to swap the item they are holding with the target slot of any mob!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

 

📥How to Install


  • 1) Download the Data Pack
  • 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 

📖Features


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

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

常见问题

Swap Item [Data Pack] 支持哪些 Minecraft 版本?

Swap Item [Data Pack] 支持 Minecraft Java 版 1.19–26.2,共 28 个版本。下载时注意选择和你游戏版本一致的文件。

Swap Item [Data Pack] 怎么安装?

把下载的 .zip 文件(不用解压)放进游戏目录的 resourcepacks 文件夹,进游戏后在「选项 → 资源包」里把它移到右边启用。

评论

登录后评论和评分

Nico4play 的其他作品

查看全部 →