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

    Class EnchantRandomEquipmentFunctionBeta

    Loot item function that applies a random enchant to the dropped item using the same algorithm used while enchanting equipment vanilla mobs spawn with.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    chance: number

    Value that determines the likelihood of equipment being enchanted.

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

    conditions: LootItemCondition[]