跳到正文

Enchant Faker

作者:Funk Planet

Allows you to assign enchantment effects to mob/potion/status effects using tags.

收藏

截图

介绍

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

Lets you apply enchantments to entities based on their current status effects.
The enchantments to apply are determined by mob_effect tags.

Usage

Add tags via data pack at data/minecraft/tags/mob_effect/.

Example

data/minecraft/tags/mob_effect/gives_respiration.json:

{
    "replace": true,
    "values": [
        "spectral_seas:amphibious"
    ]
}

Add mappings to the configuration:
configuration menu

The resulting enchant_faker.json5 config file:

{
	// Tag To Enchantment Mappings
	"tagConfig": [
		{
			"tag": "gives_respiration",
			"enchantment": "minecraft:respiration",
			"level": 3
		}
	]
}

Now, whenever an entity has the spectral_seas:amphibious effect, they will also get the Respiration III
enchantment as if they were wearing a helmet enchanted with it.

You will need to restart Minecraft after any config changes.

Acknowledgements

Inspired by Lilligant

Icon: magic hat by ridhobadal from
Noun Project (CC BY 3.0)

常见问题

Enchant Faker 支持哪些 Minecraft 版本?

Enchant Faker 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Enchant Faker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Funk Planet 的其他作品

查看全部 →