Skip to content

@minecraft/server


@minecraft/server / EntityHasVariantCondition

Class: EntityHasVariantCondition ​

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

Loot item condition that checks the variant value of a mob as it drops its loot.

Extends ​

Properties ​

value ​

readonly value: number

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

Remarks ​

The variant value the mob must have for this condition to pass.