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

    Class SetItemDamageFunctionBeta

    Loot item function that modifies the durability value of the item dropped.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    conditions: LootItemCondition[]
    damage: NumberRange

    The value range from which the function randomly chooses the durability value to assign. Contains minimum and maximum values. Must always be between 0.0 and 1.0.

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