@minecraft/server
    Preparing search index...

    Class DamagedByEntityConditionBeta

    Loot item condition that checks whether the loot source was damaged by a specific type of entity.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    entityType: string

    The entity type required for this condition to pass.