On Block Damage (Event) — Skript

Addon: Skript · Category: Event · Since: 1.0

Syntax

[on] block damag(ing|e)

Description

Called when a player starts to break a block. You can usually just use the leftclick event for this.

Event Values

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

Examples

on block damaging:
	if block is tagged with minecraft tag "logs":
		send "You can't break the holy log!"

View source