For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/KilledByEntityCondition.md.

Class: KilledByEntityCondition

entity

Beta

战利品物品条件,用于检查掉落来源是否被特定类型的实体击杀。

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

Extends

Properties

entityType

readonly entityType: string

Beta

Remarks

此条件通过所需的实体类型。 示例:minecraft:skeleton

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

同领域相关