Drops List

 

This is a special Configuration Entry used to specify a list of possible drops or products:

{name} = DropsList (
    {entries}
)

Entries are a space or newline separated list of zero or more elements using the following format:

{chance}% {stackref}

Chance must be a positive integer.

cfg Something {
    mydrops = DropsList(
        10% I:diamond  // 10% to drop a diamond
        50% B:dirt // and 50% to drop a dirt block
    )

    nodrops = DropsList() // Empty list
}
 Posted by at 8:36 am