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

    Class LootingEnchantFunction

    Advertisement

    Loot item function that drops extra items if the provided tool has the looting enchant.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    conditions: LootItemCondition[]

    The value range from which the function randomly chooses the number of extra items to drop. Contains minimum and maximum values.

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

    Advertisement