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

    Class EnchantRandomlyFunctionBeta

    Loot item function that randomly enchants the dropped item.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    conditions: LootItemCondition[]
    treasure: boolean

    Determines whether or not treasure enchantments are included in the randomly chosen enchantments.

    This property can't be read in early-execution mode.