Skip to content
LXZ_svn_sync edited this page Oct 30, 2019 · 1 revision

command: /kill

quick ref:

/kill @category{entity_selectors}

description:

kill or destroy given entity.
/kill @e{r=5, type="Railcar"}    :kill all railcar entities within 5 meters from the triggering entity
/kill @e{r=5, type="Railcar", count=1}    :kill the closet one railcar within 5 meters from the triggering entity
/kill @e{r=5, name="abc"}    :kill entity whose name is abc
/kill @e{r=5, nontype="Player"}    :kill entities that is not a player within 5 meters from the triggering entity
/kill @p{r=5, }    :kill all players within 5 meters from the triggering entity
Clone this wiki locally