Script API - v1.26.10
    Preparing search index...

    Class SpecificEnchantFunction

    Loot item function that applies one or several predefined enchants to the dropped item.

    export class SpecificEnchantFunction extends LootItemFunction {
    private constructor();
    readonly enchantments: EnchantInfo[];
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    conditions: LootItemCondition[]
    enchantments: EnchantInfo[]