Skip to content

@minecraft/server


@minecraft/server / DamagedByEntityCondition

Class: DamagedByEntityCondition ​

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

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

Extends ​

Properties ​

entityType ​

readonly entityType: string

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

Remarks ​

The entity type required for this condition to pass.