Skip to main content
Mechanics that change health, hunger and status: the core combat toolkit.

damage

Damages living targets. The damage is credited to the mob, so kills count as its kills. Alias: d

heal

Heals living targets, capped at their max health. Alias: h

sethealth

Sets living targets’ health to an exact value.

feed

Restores hunger for player targets.

potion

Applies a potion effect to living targets.

potionclear

Removes all potion effects from living targets. Alias: removeholding

ignite

Sets targets on fire.

extinguish

Puts out fire on targets. No attributes.

remove

Removes target entities from the world. Never affects players. Alias: despawn

suicide

Kills the mob itself, firing its #onDeath effects. No attributes.