enchant

@NotNull
abstract fun enchant(enchant: Boolean): @NotNull PlatformItemStack

Sets the enchantment glint override for the item.

Return

this item stack

Since

2.0.0

Parameters

enchant

true to enable glint, false to disable