Is Unbreakable (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.5.1, 2.9.0 (breakable)

Syntax

%itemtypes% (is|are) [un]breakable

Description

Checks whether an item is unbreakable.

Examples

if event-item is unbreakable:
	send "This item is unbreakable!" to player
if tool of {_p} is breakable:
	send "Your tool is breakable!" to {_p}

View source