跳到正文

Matcha Utils

作者:Linkershim

Utilities to make creating addons for Matcha Flavoured easier

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

using the /loot give @s loot matcha: command to 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:
diagram depicting how to convert bread to Matcha's custom bread in a modded loot table

This will make the bread in the loot chests work the same as crafted bread, complete with Healing and Cleansing Negative Effects

Replacing equipment:
diagram depicting how to convert a gold sword to Matcha's custom gold sword in a modded loot table
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.

The components of an Apple Empanada item

Matcha Flavoured

The Matcha Flavored Datapack can be found here: https://modrinth.com/datapack/matcha-flavoured

常见问题

Matcha Utils 支持哪些 Minecraft 版本?

Matcha Utils 支持 Minecraft Java 版 26.1–26.2,共 2 个版本。下载时注意选择和你游戏版本一致的文件。

Matcha Utils 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Linkershim 的其他作品

查看全部 →