SerenityJS
    Preparing search index...

    Represents a block drop.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Create a new block drop.

      Parameters

      • type: string

        The type of the block drop.

      • min: number

        The minimum amount of the block drop.

      • max: number

        The maximum amount of the block drop.

      • probability: number

        The probability of the block drop.

      Returns ItemDrop

    Properties

    max: number

    The maximum amount of the block drop.

    min: number

    The minimum amount of the block drop.

    probability: number

    The probability of the block drop. (0.0 to 1.0)

    type: string

    The type of the block drop.

    Methods