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

    A collection of entries which individually determine loot drops. Can contain values determining drop outcomes, including rolls, bonus rolls and tiers.

    export class LootPool {
    private constructor();
    readonly bonusRolls: minecraftcommon.NumberRange;
    readonly conditions: LootItemCondition[];
    readonly entries: LootPoolEntry[];
    readonly rolls: minecraftcommon.NumberRange;
    readonly tiers?: LootPoolTiers;
    }
    Index

    Constructors

    Properties

    bonusRolls: NumberRange

    Returns the number of extra times a loot pool will be rolled based on the player's luck level, represented as a range from minimum to maximum rolls.

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

    conditions: LootItemCondition[]
    entries: LootPoolEntry[]

    Gets a complete list of all loot pool entries contained in the loot pool.

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

    Returns the number of times a loot pool will be rolled, represented as a range from minimum to maximum rolls.

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

    Gets the loot pool tier values for a given table if they exist.

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