Skip to content

@minecraft/server


@minecraft/server / PassengerOfEntityCondition

Class: PassengerOfEntityCondition ​

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

Loot item condition that checks whether the looting entity is currently a passenger of a specific type of entity.

Extends ​

Properties ​

entityType ​

readonly entityType: string

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

Remarks ​

The entity type required for this condition to pass.