@minecraft/server
    Preparing search index...

    Class LootingEnchantFunctionBeta

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    conditions: LootItemCondition[]
    count: NumberRange

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