Damage command (With damage types!)
This mod adds a simple yet powerful command for dealing damage to entities with various damage types. An ideal solution for mapmakers and mod developers.
Main Features
Command syntax: /dmg <entity> <amount> <damagetype>
After entering the command, the selected entity instantly receives the specified amount of damage of the chosen type.
Available Damage Types
The following damage types are available: anvil, bolt, cactus, cram, dbreath, drown, fall, fire, generic, kinetic, lava, magic, magma, starve, suffocate, void
Why Different Damage Types?
Different damage reduction: Various damage types have different damage reduction. For example:
- "anvil" type damage is significantly reduced if the entity has a helmet (while heavily damaging the helmet)
- Fire or lava damage will be completely nullified with fire resistance, and reduced with fire protection
- "void" damage is not reduced by any sources (even in creative mode)
Different death messages: Each damage type has its own death message for the entity.
This mod is particularly useful when creating custom items in combination with command blocks or datapacks. Unlike vanilla ways of dealing damage (instant damage, poison, wither, or healing undead mobs), this mod allows precise customization of damage values.
Mod created using MCreator - this is the author's first modification.