ItemComponent - Stored Enchantments (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 1.0.0

Syntax

[the] stored enchant[ment]s of %itemstacks/itemtypes/slots%

Description

Get/set the stored enchantments of an enchanted book.

Examples

set {_a::*} to stored enchants of player's tool
set stored enchants of player's tool to sharpness 3 and unbreaking 2
add sharpness 1 to stored enchants of player's tool
delete stored enchants of player's tool
remove sharpness from stored enchants of player's tool

View source