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

    Class EntityHasVariantCondition

    Loot item condition that checks the variant value of a mob as it drops its loot.

    export class EntityHasVariantCondition extends LootItemCondition {
    private constructor();
    readonly value: number;
    }

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    value: number

    The variant value the mob must have for this condition to pass.

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