Swap Item
一个数据包/模组,添加了大量新命令,允许玩家将手中持有的物品与目标实体的指定槽位中的物品进行交换!
?安装方法
选择下载纯数据包版本还是模组版本,并相应地按照步骤操作。
数据包
- 1) 下载数据包
- 2) 选择要安装数据包的存档世界,并进入其 "datapacks" 文件夹
- 3) 将下载的数据包文件(Swap Item)复制到此文件夹中
- 4) 进入该世界并运行
/reload命令
模组
- 1) 下载模组
- 2) 进入你的
mods文件夹(对于原版启动器,路径为.minecraft/mods - 3) 将下载的 .jar 文件(Swap Item)放入此文件夹
- 4) 进入该世界并运行
/reload命令
此数据包对应的模组版本兼容 Fabric、Forge、Quilt 和 NeoForge
注意:从版本 1.2.2 开始提供对 NeoForge 的支持
?功能
此数据包引入了一系列新命令,允许你交换玩家与实体之间的两个物品栏槽位。此外,作为额外福利,你现在可以将任何物品放置到头部槽位!以下是命令列表及其效果。
命令
| 命令 | 效果 |
|---|---|
/trigger swapitem.entity.mainhand | 将你手中持有的物品与你注视的实体主手槽位 中的物品进行交换。 | /trigger swapitem.entity.offhand | 将你手中持有的物品与你注视的实体副手槽位 中的物品进行交换。 |
/trigger swapitem.entity.head | 将你手中持有的物品与你注视的实体头部槽位 中的物品进行交换。 |
/trigger swapitem.entity.chest | 将你手中持有的物品与你注视的实体胸部槽位 中的物品进行交换。 |
/trigger swapitem.entity.legs | 将你手中持有的物品与你注视的实体腿部槽位 中的物品进行交换。 |
/trigger swapitem.entity.feet | 将你手中持有的物品与你注视的实体脚部槽位 中的物品进行交换。 |
/trigger swapitem.head | 将你手中持有的物品放置到你自己的头部槽位中。 |
YouTube 展示视频
?卸载方法
数据包
若要卸载数据包版本,只需运行 /function swap_item:uninstall 命令即可。卸载过程完成后,聊天栏会发送一条确认消息。
模组
若要卸载模组版本,你需要先运行 /function swap_item:uninstall 命令。然后关闭游戏,并从 .minecraft/mods 文件夹中移除 jar 文件。
?外部链接
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
/reloadcommand
Mod
- 1) Download the Mod
- 2) Navigate to your
modsfolder (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
/reloadcommand
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
| 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
?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
下载 Swap Item
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swap Item
下载 Swap Item
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swap Item
下载 Swap Item
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swap Item
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swap Item
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swap Item
下载 Swap Item
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Swap Item
适用于 Minecraft 26.3 的 1.3.3 版本
? 通用
- 已更新为 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧