Entity Damage Reduction
「Edge sheathed, balance kept」
The /entitydamage command reduces the final damage dealt by a specified entity. No matter how much the damage has been boosted by mods/enchantments, the damage that finally lands on the target is uniformly reduced by the configured percentage (e.g. 30% means final damage drops by 30%).
Basic usage:
/entitydamage [add|list|remove]
Permission:
youer.command.entitydamage
This is a persistent command that is always registered and not controlled by
commands.yml. See commands.yml.
Rule storage:
Rules are stored in youer-config/entitydamage.yml:
Entities not listed in
damagedeal full damage.
Set entity damage reduction
/entitydamage add <entity> <percent>
- The entity uses its registry key (e.g.
minecraft:zombie); Tab autocompletes (including mod entities) - The percent is an integer from 1 to 100; 100 means the entity deals no damage at all
View the reduction list
/entitydamage list
Lists all configured entities and their reduction percentages.
Remove a reduction rule
/entitydamage remove <entity>
After removal, the entity deals full damage again.
❓ FAQ
- Q: Will damage from arrows/projectiles be reduced?
- A: Yes. The rule is judged by the "responsible entity" of the damage (the shooter), e.g. an arrow shot by a skeleton is still reduced by the skeleton's percentage.
- Q: At which stage of damage calculation does the reduction apply?
- A: It applies at the final damage settlement stage (after armor, potions, and enchantment reductions are all computed), so it is unaffected by any damage boost — the ratio is constant.