The EnchantInfo class in @minecraft/server.
Class in @minecraft/server
import { EnchantInfo } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”enchantment
Section titled “enchantment”read-only
readonly enchantment: string;read-only
readonly range: NumberRange;Types
Used by
Section titled “Used by”MatchToolCondition.enchantments, SpecificEnchantFunction.enchantments