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

    Class RandomBlockStateFunctionBeta

    Loot item function that randomly modifies the block state of the item dropped.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    blockState: string
    conditions: LootItemCondition[]
    values: NumberRange

    The range from which the function randomly chooses the value to assign to the given block state. Contains minimum and maximum values.

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