Equippable Component - Can Be Dispensed (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.13

Syntax

%equippablecomponents% can be dispensed

Description

Whether an item can be dispensed by a dispenser. NOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.

Examples

if {_item} can be dispensed:
	add "Dispensable" to lore of {_item}
set {_component} to the equippable component of {_item}
if {_component} is not able to be dispensed:
	allow {_component} to be dispensed

View source