Skip to content

@minecraft/server


@minecraft/server / EntityKilledCondition

Class: EntityKilledCondition ​

Defined in: @minecraft/server/index.d.ts:11285

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

Extends ​

Properties ​

entityType ​

readonly entityType: string

Defined in: @minecraft/server/index.d.ts:11293

Remarks ​

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