On Ignition (Event) — Skript

Addon: Skript · Category: Event · Since: 1.0

Syntax

[on] [block] ignit(e|ion)

Description

Called when a block starts burning, i.e. a fire block is placed next to it and this block is flammable. The <a href='#burn'>burn event</a> will be called when the block is about do be destroyed by the fire.

Event Values

  • event-block
  • event-location
  • event-player
  • event-world

Examples

on block ignite:
	if event-block is a ladder:
		cancel event

View source