Equippable Component - Can Be Sheared Off (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.13

Syntax

%equippablecomponents% can be sheared off [of entities]

Description

Whether an item can be sheared off of an entity. NOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.

Examples

if {_item} can be sheared off:
	add "Shearable" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} can not be sheared off:
	allow {_component} to be sheared off

View source