Compatibility
Minecraft: Java Edition
1.18–1.18.1
1.17.x
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published 3 years ago
Updated 3 years ago
What is this
A simple /damage function for datapack creators, because they deserve one.
Syntax
/damage <target> <amount> [<attacker>]
/damage <target> <amount> [<damageSource>] [<attacker>]
Where:
- <target> = entity (can be multiple)
- <amount> = float
- <damageSource> = identifier
- <attacker> = entity (singular)