Matcha Utils
为创建基于 Matcha 的整合包(Datapack)的附加内容提供多种开发工具。
Matcha Utils 目前可协助:
- 通过命令获取 Matcha 自定义的物品
- 在 Matcha 与结构模组之间创建战利品表兼容
- 查看 Matcha 自定义物品的组件
获取 Matcha 的自定义物品
Matcha Flavoured 添加或修改的每个物品都有各自的战利品表,你可以使用 /loot give @s loot 命令来获取带有所有自定义属性的该物品。
与其他模组创建战利品表兼容
要将其他模组的战利品表中的物品转换为它们的 Matcha 等效物品,请将战利品表中的物品条目替换为来自 Matcha Utils 的战利品表条目。
例如,替换面包:

这将使战利品箱中的面包与制作的面包效果相同,包括治愈和净化负面效果。
替换装备:
这将使战利品箱中的金剑拥有 Matcha 的自定义属性,例如更高的耐久度、数值以及诸如抢夺之类的固有特性(Intrinsics)。这些属性在应用战利品表本身的随机附魔以及其他功能(如物品损坏)之前就已生效。
查看 Matcha 自定义物品的组件
通过解压并浏览 Matcha Utils 的战利品表,你可以查看 Matcha Flavoured 应用于物品的自定义组件。
这省去了你在生存模式下追踪各种获取物品方式的麻烦。

抹茶风味
抹茶风味数据包可以在这里找到:
Matcha Utils
Adds various Development tools for creating addons to the Matcha Flavoured Datapack.
Matcha Utils currently helps with:
- Giving yourself Matcha's customised items via commands
- Creating loot table compat mods between Matcha and structure mods.
- Viewing the components of Matcha's custom items
Give yourself Matcha's Custom Items
Every item added or modified by Matcha Flavoured has it's own loot table, which can be used to give yourself the item with all it's custom attributes using the "/loot give @s loot " command
Creating loot table compat with other mods
To convert the items in the loot table of another mod to their Matcha equivalents, replace the item entry in the loot table with a loot table entry from Matcha Utils.
For example, replacing bread:

This will make the bread in the loot chests work the same as crafted bread, complete with Healing and Cleansing Negative Effects
Replacing equipment:
This will make the Gold Swords in the loot chests have Matcha's custom attributes, such as more durability, stats and Intrinsics such as Looting.
These are applied before the random enchantment from the loot table itself is applied, as well as any other functions such as item damage.
Viewing the Components of Matcha's Custom Items
By unzipping and looking through Matcha Utils' loot tables, you can view the custom components which Matcha Flavoured applies to items.
This saves you from having to track them down from the various ways items are obtained in survival.

Matcha Flavoured
The Matcha Flavored Datapack can be found here:
评论 0
登录后参与评分
还没有评论,来抢沙发吧