Skip to content

@minecraft/server


@minecraft/server / RandomChanceCondition

Class: RandomChanceCondition ​

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

Loot item condition that applies a given value to the chances that loot will drop.

Extends ​

Properties ​

chance ​

readonly chance: number

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

Remarks ​

The chance, from 0.0-1.0, that loot will drop.