@minecraft/server
    Preparing search index...

    Class RandomDifficultyChanceConditionBeta

    Loot item condition that applies given values to the chances that loot will drop based on the current difficulty level.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    chances: number[]

    A four-element array containing the chance of a loot drop occurring for each difficulty level, in order: Peaceful, Easy, Normal, Hard.