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

    Class LootTableBeta

    Represents a single Loot Table, which determines what items are generated when killing a mob, breaking a block, filling a container, and more.

    Index

    Constructors

    Properties

    Constructors

    Properties

    path: string

    Returns the path to the JSON file that represents this loot table. Does not include file extension, or 'loot_tables/' folder prefix. Example: entities/creeper.

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

    pools: LootPool[]

    Returns the array of loot pools on a given loot table.

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