Closed Aceplante2 closed 1 year ago
Do you mean using only specific damage types to trigger the totem? Or using specific damage types to not trigger the totem?
Either one. Having only specific types trigger it would be a whitelist, and having specific types not trigger it would be a blacklist. Perhaps have the option of both as many other mods have?
Well, blacklisting is already possible. You just need to add the damage types you want to the bypasses_invulnerability
tag using a datapack. It's located at minecraft\tags\damage_type\bypasses_invulnerability.json
.
Would it work for you? Or whitelisting would be a better solution for what you need?
Can you provide an example of one that blacklists starving? I cant seem to find much
You can use minecraft:starve
.
This is how your Json file should look like:
{
"replace": false,
"values": [
"minecraft:starve"
]
}
I'm gonna close this issue. If you need further assistance about it, you can join my Discord server and I'll be happy to help you.
I want the totem to only trigger from dying to damage, not starving. So a blacklist of deathtypes would be appreciated