Initially 是一个模组,当玩家首次加入世界时,它会根据配置文件中设定的列表初始化玩家的物品栏。
在 JSON 文件中,你可以为每个槽位指定希望放入的物品及其标签数据(NBT,如果有的话)。
你可以通过手持该物品并运行 "/data get entity @s SelectedItem" 来获取物品的 NBT,复制其中的 id 并将其作为 itemLocation 填入,然后从标签中移除该 id;数量(count)的处理方式同理。
请注意!在将内容放入 JSON 之前,你必须对任何嵌套的字符串进行转义(你可以使用 此网站 来自动完成这一操作)。
如有问题,欢迎加入我的 Discord。
想要支持我们吗?
-Mrbysco
Initially is a mod that upon joining a world for the first time it initializes the players inventory with a list of items that have been configured in the config.
In the json you can specify per slot what item you want to be put there and what the tag data (nbt) of the item is (if it has any).
You can get the nbt of an item by holding it and running "/data get entity @s SelectedItem", copy the id and put it as the itemLocation then remove it from the tag same goes for the count.
Remember! You have to escape any nested strings before placing in the json (You can use This website to do it for you)
For questions feel free to join my Discord.
Want to support us?
-Mrbysco
下载 Initially
下载 Initially
下载 Initially
下载 Initially
下载 Initially
下载 Initially
下载 Initially
下载 Initially
下载 Initially
下载 Initially
- 首次更新至 26.1
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧