Class

import mods.dropt.Dropt

This class acts as an entry point to the Dropt API.

Each method returns either a ready-to-configure object or a pre-configured object using the given parameters.

Methods

static RuleList list(string name);

Returns a new, ready-to-configure list object.

Subsequent calls with the same name will return the same list object.

For more information, see:

static Rule rule();

Returns a new, ready-to-configure Rule object.

For more information, see:

static Harvester harvester();

Returns a new, ready-to-configure Harvester object.

For more information, see:

static Drop drop();

Returns a new, ready-to-configure Drop object.

For more information, see:

static Range range(int fixed);

Returns a range object with a fixed value.

For more information, see:

static Range range(int min, int max);

Returns a range object with a minimum and maximum value.

The minimum and maximum values are inclusive.

For more information, see:

static Range range(int min, int max, int fortuneModifier);

Returns a range object with the given minimum, maximum, and fortune modifier value.

The minimum and maximum values are inclusive.

For more information, see:

static Weight weight(int weight);

Returns a weight object with the given weight.

For more information, see:

static Weight weight(int weight, int fortuneModifier);

Returns a weight object with the given weight and fortune modifier.

For more information, see: