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

    Class EntityKilledConditionBeta

    Loot item condition that checks the entity type of the entity dropping its loot.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    entityType: string

    The entity type required for this condition to pass. Example: 'minecraft:skeleton'.

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