The RandomDifficultyChanceCondition class in @minecraft/server.
Class in @minecraft/server
Extends LootItemCondition
import { RandomDifficultyChanceCondition } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”chances
Section titled “chances”read-only
readonly chances: number[];