The SpecificEnchantFunction class in @minecraft/server.
Class in @minecraft/server
Extends LootItemFunction
import { SpecificEnchantFunction } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”enchantments
Section titled “enchantments”read-only
readonly enchantments: EnchantInfo[];Types
Inherited
Section titled “Inherited”From LootItemFunction: conditions