Can you make me a datapack that makes the "hexed" effect from terramity deal 80% less damage to mobs but the same damage to players?
A vanilla-compatible datapack can’t precisely do this: it has no hook to intercept Terramity’s Hexed damage and reduce it only when the victim is a mob. Giving affected mobs Resistance would also reduce damage from every source while Hexed is active, so it wouldn’t meet your request.
This needs a Terramity-side change or a scripting mod that can identify Hexed damage and the victim type. Share your Minecraft/Terramity version and mod loader, and I can help with a mod-side approach.
I am using 1.20.1 terramity
For Minecraft 1.20.1 with Terramity, a datapack still can’t selectively reduce only Hexed’s damage to mobs. Datapacks can’t intercept a modded effect’s damage event and distinguish it from other damage, so a workaround like Resistance would also reduce unrelated damage to those mobs.
This needs a Terramity change or a compatible scripting/mod solution. I won’t make a datapack that only appears to work but changes all damage instead.
Make a mod. I am using 1.20.1 terramity with forge
I can’t create a Forge mod in this project; it’s set up to build vanilla datapacks. A datapack can’t intercept Terramity’s Hexed damage in Forge 1.20.1, so it can’t apply the 80% reduction to mobs while leaving player damage unchanged. That behavior needs a Forge mod that hooks into Hexed’s damage handling.
No files in this session