When I was making my map, I need to detect hit by someone who has resistance level 5. At the first time, I tried to use damage_dealt_resisted criterion. But it was not working when I hit player. In this situation, how I detect hit by someone has resistance level 5?
The exact criteria name is "minecraft.custom:minecraft.damage_dealt_resisted" for detecting damage dealt to a resistant entity
Use "minecraft.custom:minecraft.damage_resisted" instead if you want to detect damage received from a resistant player
1-month old but still pertinent question.
Rollback Post to RevisionRollBack
I got into chiptune music composition.
You can listen to them on my Youtube channel : https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
When I was making my map, I need to detect hit by someone who has resistance level 5. At the first time, I tried to use damage_dealt_resisted criterion. But it was not working when I hit player. In this situation, how I detect hit by someone has resistance level 5?
Thanks
The exact criteria name is "minecraft.custom:minecraft.damage_dealt_resisted" for detecting damage dealt to a resistant entity
Use "minecraft.custom:minecraft.damage_resisted" instead if you want to detect damage received from a resistant player
1-month old but still pertinent question.
I got into chiptune music composition.
You can listen to them on my Youtube channel :
https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).