Damage Function

Damage Function

Mod

Finally, a damage function for minecraft

Server LibraryUtility

494 downloads
3 followers
Created3 years ago
Updated3 years ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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)

Project members

andrewtoaster

Owner


Technical information

License
MIT
Client side
unsupported
Server side
required
Project ID