bedrock-kit
    Preparing search index...

    Interface LootEntry

    A single entry within a loot pool, representing one possible drop.

    interface LootEntry {
        functions: Record<string, unknown>[];
        name: string;
        type: string;
        weight: number;
    }
    Index

    Properties

    functions: Record<string, unknown>[]

    Optional function modifiers such as set_count, enchant_randomly, etc.

    name: string

    The item or nested loot table identifier. Null for "empty" type entries.

    type: string

    The entry type — typically "item", "loot_table", or "empty".

    weight: number

    Relative drop weight. Higher values are more likely.