Skip to main content
Capture interactions between players and other entities.

🐾 Event Library

⚙️ Configuration

player_kill_entity_event

Triggers when a player deals the killing blow to an entity.
type
EntityType
Type of entity killed (e.g. ZOMBIE, PLAYER).

entity_damage_by_player_event

Triggers when a player damages an entity.
type
EntityType
Type of entity damaged.
minDamage
Double
Minimum damage amount.

entity_breed_event

Triggers when two animals breed.
parentType
EntityType
Type of the parents (e.g. COW).

piglin_barter_event

Triggers when a player throws gold at a Piglin.
input
Material
default:"GOLD_INGOT"
Item given to the Piglin.

💻 Examples

player_kill_entity_event:
  type: ZOMBIE
  actions:
    - experience_action:
        amount: 10