← Back to Command Directory ← Back to Home

/kill

Eliminates entities matching a selector.

Syntax

/kill [target]

Parameters

NameRequiredDescription
targetNoEntity selector (defaults to executor).

Examples

/kill @e[type=item,distance=..5]
/kill @e[type=zombie]

Notes

Version Differences

Supported in Java and Bedrock with similar behavior.

Related Commands