@minecraft/server
    Preparing search index...

    Class EnchantmentTypeBeta

    Contains information on a type of enchantment.

    Index

    Constructors

    Properties

    Constructors

    • Beta

      Parameters

      • enchantmentType: string

      Returns EnchantmentType

      This function can throw errors.

    Properties

    id: string

    The name of the enchantment type.

    maxLevel: number

    The maximum level this type of enchantment can have.