Мова

Enchant Faker

Enchant Faker

Modrinth

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

1.1k завантажень 7 підписників оновлено 5mo ago
остання v1.0.2+1.20.1 Modrinth
Fabric 1.20.1 – 1.20.1 Game-mechanicsMagicUtility

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)

Версії

Release
1.0.2+1.20.1
fabric · 1.20.1 · 5mo ago
### Fixed - Removed excessively verbose logging that was murdering performance.
438
Release
1.0.1+1.20.1
fabric · 1.20.1 · 15mo ago
* Corrected a documentation error (showed tags going in `data/enchant_faker` instead of `data/minecraft`). No code changes.
585
Release
1.0.0+1.20.1
fabric · 1.20.1 · 16mo ago
Initial public release.
51

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

Завантажити Enchant Faker

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.