是否曾想过自定义你的工具?那么这就是完美的解决方案,隆重推出:Tool Decals
Tool Decals 是一个数据包,主要服务于两个目的:#1 赋予玩家使用在世界各处需要寻找的物品来自定义其工具的能力;#2 尽可能简化其他数据包通过 Tool Decals 作为基础来添加自己的皮肤的过程。
应用刻印(Decals):
要应用刻印,玩家首先需要制作“刻印工作台”(Decal Bench),这是一个由铜块制作的新方块。放置后,玩家可以用任何兼容的工具或武器右键点击刻印工作台以将其放置在上面,然后可以用刷子右键点击以移除当前的刻印,或者用刻印物品右键点击。这将消耗该物品并将刻印应用到工具上,之后玩家可以空手右键点击再次拾取它。
兼容性:
由于 Tool Decals 旨在与其他数据包配合使用,因此兼容性对我来说非常重要。每个物品(如果应用了刻印)都会保存其原始的 item_model,并在玩家移除刻印时恢复为原始模型。
常见问题解答(FAQ):
剧透
问:刻印对我的工具有什么影响?
答:刻印仅影响工具的视觉效果,所有其他数据保持不变。
问:我该如何开始?
答:数据包中包含进度指引,指导你获取刻印和刻印工作台。
问:我在哪里可以找到自定义物品?
答:所有自定义物品都可以通过命令 /function decals:give/<item_name> 获得。
问:为什么所有自定义物品都是黑紫色的方块?
答:你没有安装和/或启用所需的资源包。你可以在数据包下载部分找到它。
如何添加自定义刻印:
剧透
添加自定义刻印完全通过 custom_data 组件处理。
#1 将自定义物品注册为刻印
数据包使用 decal:1b 来判断某物是否是刻印,这意味着任何物品都可以变成刻印。
#2 将皮肤链接到刻印物品
通过在自定义物品的 custom_data 组件中添加 decals.decal:"<item_model>","<item_model>" 字段内指定的物品模型随后将被添加到刻印工作台上的物品中,或者(如果物品上已存在物品模型)替换为指定的物品模型。
[!注意!物品模型必须在 decals 命名空间下注册,否则会导致数据包损坏。我们建议为你的模型名称添加自定义前缀,以避免与其他插件可能产生的问题]
当前支持的语言:
En Jan 翻译
De Jan 翻译
It LordOfBruh 翻译
致谢:
- Jan:纹理、编码、创意
- LordOfBruh:在编码方面的重大帮助、精神支持、可爱的伙伴
请在官方 GitHub 此处 报告任何问题
Ever wanted to customize your tools? Well heres the perfect solution, introducing: Tool Decals
Tool Decals is a Pack that mainly serves 2 purposes, #1 Giving the Player the ability to customize their tools using items they need to find throughout their world and #2 Making it as easy as possible for other Datapacks to add their own Skins using Tool Decals as the base
Applying Decals:
To apply decals players will first need to craft the Decal Bench, a new block crafted out with copper once placed the player can right click the Decal Bench with any compatible Tool and Weapon to put it on the Decal Bench and then either right click with a brush to remove the current decal or right click with a decal item, this will consume the item and apply the decal to the tool after which it can be picked up again by right clicking with an empty hand
Compatability:
Due to Tool Decals being meant to be used in combination with other datapacks compatability was very important to me. Every item (should a decal be applied) will save their original item_model and revert back to it should the decal be removed by the player
FAQ:
Spoiler
Q: How do decals affect my tools?
A: Decals purely affect the visuals of the tools, all other data is kept the same.
Q: How do i get started?
A: Theres advancements in the datapack that guide you trough getting decals and the decal bench
Q: Where can i find custom items?
A: All custom items can be obtained using the command /function decals:give/<item_name>
Q: Why are all custom items black and purple blocks?
A: You dont have the required Resourcepack installed and/or enabled you can find it under the downloads section of the datapack
How to add Custom Decals:
Spoiler
Adding Custom Decals is entirely handled via the custom_data component
#1 Registering a Custom Item as a Decal
The Datapack determins what and what isnt a Decal using decal:1b that means any item can be turned into a decal
#2 Linking a Skin to the Decal Item
By adding decals.decal:"<item_model>" to the custom_data component on your custom item the item model specified inside of the "<item_model>" field will later be added to the item on the Decal Bench or (should an item model already exsist on the item) replaced with the specified item model
[!Note! the item model must be registered under the namespace decals otherwise it will break the pack we recommand you give your model names a custom prefix to avoid possible issues with other addons]
Current Support Languages:
En Translation by Jan
De Translation by Jan
It Translation by LordOfBruh
Credits:
- Jan: Textures, Coding, Ideas
- LordOfBruh: Major Help with Coding, Moral Support, Cutie Patootie
Please Report any issues on the official Github Here
评论 0
登录后参与评分
还没有评论,来抢沙发吧