@minecraft/server
    Preparing search index...

    Class KilledByEntityConditionBeta

    Loot item condition that checks whether or not the drop source was killed by a specific type of entity.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    entityType: string

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