@minecraft/server / KilledByEntityCondition
Class: KilledByEntityCondition ​
Defined in: @minecraft/server/index.d.ts:15382
Loot item condition that checks whether or not the drop source was killed by a specific type of entity.
Extends ​
Properties ​
entityType ​
readonlyentityType:string
Defined in: @minecraft/server/index.d.ts:15390
Remarks ​
The entity type required for this condition to pass. Example: 'minecraft:skeleton'.