Equippable Component - Swap Equipment (Effect) — Skript

Addon: Skript · Category: Effect · Since: 2.13

Syntax

(allow|force) %equippablecomponents% to swap equipment [on right click|when right clicked]

Description

Whether the item can be swapped by right clicking with it in your hand. NOTE: Equippable component elements are experimental. Thus, they are subject to change and may not work as intended.

Examples

allow {_item} to swap equipment
set {_component} to the equippable component of {_item}
prevent {_component} from swapping equipment on right click

View source