Kill Entity
Kill Entity
This unlocker will trigger when a player kills a vanilla entity.
id
kill entity
Data
type Required
- Type:
string
- Default:
none
- Description: The type of the entity killed. See all entity type names here.
Condition
kill-entity
id: yui-kill-entity
/ kill-entity
Syntax:
kill-entity total-amount
returns the total number of kills.kill-entity name
returns the name of the entity killed.
Example
- type: "kill entity"
data:
type: "ZOMBIE"
condition: |-
check kill-entity total-amount == 5