Percy's Sewing Kit 是一个数据包,包含一些实用物品,帮助你自定义鞘翅、盔甲和物品!
Percy’s Sewing Kit 兼容 Minecraft Realms。无论是在单人游戏、多人游戏还是 Realms 中游玩,你都能获得一致的体验!
开始使用
首先,你需要制作一个缝纫包(Sewing Kit)。
缝纫包的制作配方如下:
- 一个未着色的线团(bundle)
- 剪刀
- 线
- 青金石
这是一个无形状配方的合成,因此你在合成网格中的放置位置并不重要。
注意:使用现有的线团进行此合成会覆盖其中的所有物品。请确保使用空的线团。小心操作!
你的缝纫包内将包含以下物品:
- 缝纫剪刀
- 缝纫线
- 闪烁的青金石
缝纫剪刀
缝纫剪刀用于更改物品的模型/纹理。
要使用这些特殊的剪刀:
- 在铁砧中将任意物品重命名为物品模型定义的命名空间 ID。我将在“设置资源包”部分详细介绍命名空间 ID。
- 在主手持有缝纫剪刀,副手持有重命名后的物品。
- 与缝纫剪刀交互(默认右键点击)。
- 副手中物品的模型将被更新,且其自定义名称将被移除。
之后你可以随意将物品重命名为任何名字;在你重复上述步骤之前,这不会影响模型。
缝纫线
缝纫线用于更改物品的装备资产。装备资产是穿戴时显示在身上的盔甲、鞘翅等的纹理。
要使用这条特殊的线:
- 在铁砧中将任意物品重命名为装备资产的命名空间 ID。在“设置资源包”一节中,我会更深入地介绍命名空间 ID。
- 在主手持有缝纫线,副手持有重命名后的物品。
- 与缝纫线交互(默认右键点击)。
- 副手中物品的模型及其装备资产都将被更新。其自定义名称将被移除。
注意:在使用缝纫线时按住潜行键只会更新装备资产,而不会更新物品模型。
之后你可以随意将物品重命名为任何名字;在你重复上述步骤之前,这不会影响模型或装备资产。
闪烁的青金石
闪烁的青金石可以切换物品的附魔光效。
要使用这块特殊的青金石:
- 在主手持有闪烁的青金石,副手持有你想要切换附魔光效的物品。
- 与闪烁的青金石交互(默认右键点击)。
- 副手中物品的附魔光效将被开启或关闭。
设置资源包
在我们开始设置资源包之前,重要的是要理解 Minecraft 区分了物品模型和装备资产。
物品模型是在背包中显示的模型和纹理。 装备资产是穿戴盔甲和鞘翅时显示在玩家(及其他生物)身上的纹理。
缝纫剪刀设置物品模型,缝纫线设置装备资产。
我整理了一个示例资源包以帮助你设置自己的资源包:点击下载示例资源包
设置物品模型
在你的资源包中,物品模型存储在此路径下:assets/<namespace>/items/<your_item>.json。
这里的 <namespace> 是你的资源包的命名空间,而 <your_item> 是你的物品文件的名称。
如前所述,要让物品拥有你的物品模型,你需要将其重命名为命名空间 ID。但是,你不需要填写完整的路径。
这是因为 Percy's Sewing Kit 使用了 Minecraft 的 item_model 组件,它直接引用 items 文件夹,所以你只需要填写 <namespace>:<your_item>。
例如,你有一个名为 emerald_sword 的自定义物品模型,且你的资源包命名空间为 knights_of_emeralds,你将物品模型存储在这里:
assets/knights_of_emeralds/items/emerald_sword.json,并将游戏中的物品重命名为 knights_of_emeralds:emerald。
设置装备资产
缝纫线用于设置装备资产。但由于它也会设置物品模型,因此有一些注意事项。首先,让我们解释装备模型存储在哪里,然后我会具体说明如何为此设置物品模型。
在你的资源包中,装备资产存储在此路径下:assets/<namespace>/equipment/<your_asset>.json。
这里的 <namespace> 是你的资源包的命名空间,而 <your_asset> 是你的装备文件的名称。
如前所述,要让物品拥有你的装备资产,你需要将其重命名为命名空间 ID。但是,你不需要填写完整的路径。
这是因为 Percy's Sewing Kit 使用了 Minecraft 的 equippable 组件,它直接引用 items 文件夹,所以你只需要填写 <namespace>:<your_asset>。
因为这将同时设置物品的装备资产以及物品模型,所以你的装备资产和物品模型必须具有相同的名称。
例如,如果你有一套名为 emerald_wings 的自定义鞘翅,那么装备资产和物品模型都应使用该名称。
然而,同一套盔甲共享一个装备资产文件(例如所有钻石盔甲都在一个装备文件中),但每种盔甲物品的物品模型是唯一的(例如靴子的纹理与头盔不同)。为了解决这个问题,缝纫包会在物品模型后追加 _<armor type>。
它将针对每种盔甲类型追加以下内容:
- 头盔 >
_helmet - 胸甲 >
_chestplate - 护腿 >
_leggings - 靴子 >
_boots - 马铠 >
_horse_armor(1.21.8V1 及更高版本) - 鹦鹉螺壳盔甲 >
_nautilus_armor(1.21.11V1 及更高版本)
这意味着在你的资源包中,每种护甲类型的物品模型名称应与装备模型相同,仅在末尾追加 "_<armor type>"。
例如,如果你有自定义的绿宝石护甲,且你的资源包命名空间为 knights_of_emeralds,并将胸甲重命名为 knights_of_emeralds:emerald,数据包将会把装备资产设置为存储在此处的文件:assets/knights_of_emeralds/equipment/emerald.json,而物品模型则设置为存储在此处的文件:assets/knights_of_emeralds/items/emerald_chestplate.json
对于鞘翅、狼铠、挽具、地毯和鞍,不会追加任何内容。
Percy's Sewing Kit is a datapack with a few useful items to help you customise your elytra, armor, and items!
Percy’s Sewing Kit is compatible with Minecraft Realms. Whether you're playing in singleplayer, multiplayer, or on Realms, you'll have the same experience everywhere!
Getting started
To get started, you first need to craft a Sewing Kit.
The Sewing Kit is crafted by placing the following items in a crafting grid:
- A bundle (undyed)
- Shears
- String
- Lapis Lazuli
It's a shapeless crafting recipe, so it doesn't matter where you place the items in the crafting grid.
Note: Using an existing bundle for this crafting recipe will overwrite all items inside. Make sure you use an empty bundle. Be careful!
Inside your Sewing Kit, you'll find the following items:
- Sewing Shears
- Sewing String
- Shimmering Lapis Lazuli
Sewing Shears
The Sewing Shears are used to change the model/texture of your item.
To use these special shears:
- Rename any item to a namespaced ID of an item model definition in an anvil. I’ll cover namespaced IDs in more detail in the “Setting up your resourcepack” section.
- Hold your renamed item in your offhand, and the Sewing Shears in your mainhand.
- Interact with the Sewing Shears (right-click by default).
- The item model of the item in your offhand will be updated, and the custom name you gave it will be removed.
Feel free to rename the item to anything you like after; it won’t affect the model until you repeat the steps above.
Sewing String
The Sewing String is used to change the equipment asset of your items. Equipment assets are the textures shown by armor, elytra, and more when worn on the body.
To use this special string:
- Rename any item to a namespaced ID of an equipment asset in an anvil. In the section "Setting up your resourcepack" I'll dive into more detail on namespaced ID's.
- Hold your renamed item in your offhand, and the Sewing String in your mainhand.
- Interact with the Sewing String (right-click by default).
- The item model of the item in your offhand, and its equipment asset, will be updated. The custom name you gave it will be removed.
Note: Pressing Sneak while using the Sewing String will update the equipment asset but not the item model.
Feel free to rename the item to anything you like after; it won’t affect the model or equipment asset until you repeat the steps above.
Shimmering Lapis Lazuli
Shimmering Lapis Lazuli can toggle the enchantment glint of items.
To use this special Lapis Lazuli:
- Hold the Shimmering Lapis Lazuli in your mainhand, and the item of which you want to toggle the enchantment glint in your offhand.
- Interact with the Shimmering Lapis Lazuli (right-click by default).
- The enchantment glint of the item in your offhand will be toggled on or off.
Setting up your resourcepack
Before we get started with our resourcepack, it's important to understand that Minecraft makes a distinction between item models and equipment assets.
Item models are the models and textures that are shown in your inventory. Equipment assets are the textures that are shown on the player (and other mobs) when wearing armor and elytra.
The Sewing Shears set item models, the Sewing String sets equipment assets.
I've put together an example resourcepack to help you set up your own: Click here to download example resourcepack
Setting up item models
In your resourcepack, item models are stored on this path: assets/<namespace>/items/<your_item>.json.
Here <namespace> is the namespace of your resourcepack, and <your_item> is the name of your item file.
As mentioned before, to get your item model on an item, you need to rename it to a namespaced ID. However, you don't need to fill in the entire path.
This is because Percy's Sewing Kit uses Minecraft's item_model component, which directly references the items folder, so you only need to fill in <namespace>:<your_item>.
For example, you have a custom item model called emerald_sword, and the namespace for your resourcepack is knights_of_emeralds, you store your item model here:
assets/knights_of_emeralds/items/emerald_sword.json, and rename your in-game item to knights_of_emeralds:emerald.
Setting up equipment assets
The Sewing String is used to set equipment assets. But because it also sets the item models, there are a few catches. First, let's explain where equipment models are stored, then I'll go into how to set up item models for this specifically.
In your resourcepack, equipment assets are stored on this path: assets/<namespace>/equipment/<your_asset>.json.
Here <namespace> is the namespace of your resourcepack, and <your_asset> is the name of your equipment file.
As mentioned before, to get your equipment asset on an item, you need to rename it to a namespaced ID. However, you don't need to fill in the entire path.
This is because Percy's Sewing Kit uses Minecraft's equippable component, which directly references the items folder, so you only need to fill in <namespace>:<your_asset>.
Because this sets both the equipment asset for your item, as well as the item model, your equipment asset and your item model need to have the same name.
For example, if you have custom elytra named emerald_wings, both the equipment asset and item model should have that name.
However, armor shares one equipment asset file per set (e.g. all diamond armor is in one equipment file), but item models for each armor item are unique (e.g. boots have a different texture than helmets). To deal with that, the Sewing Kit will append _<armor type> to the item model.
It will append the following for each armor type:
- helmet >
_helmet - chestplate >
_chestplate - leggings >
_leggings - boots >
_boots - horse armor >
_horse_armor(1.21.8V1 and up) - nautilus armor >
_nautilus_armor(1.21.11V1 and up)
This means that in your resourcepack, the item models for each armor type should have the same name as the equipment model, only with "_<armor type>" appended at the end.
For example, if you have custom emerald armor and the namespace for your resourcepack is knights_of_emeralds, and you rename a chestplate to knights_of_emeralds:emerald, the datapack will set the equipment asset to the file stored here: assets/knights_of_emeralds/equipment/emerald.json, and the item model to the file stored here: assets/knights_of_emeralds/items/emerald_chestplate.json
For elytra, wolf armor, harnesses, carpets, and saddles, it won’t append anything.
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
下载 Percy's Sewing Kit
更新内容:
- 已更新至 Minecraft 26.3。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
为下界添加了名为“贝尔泽布城堡”的新闻结构,以及新的 Boss、新工具、新物品、新敌人和新音乐唱片!
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
使用原版/生存友好的方法更改青蛙的变种类型。支持原版(寒冷、温带、温暖)以及可选的“More Frogs 2”变种:深红、末影、地狱、毒镖、紫珀、幽匿、灵魂、诡异和木头。
评论 0
登录后参与评分
还没有评论,来抢沙发吧