Class: Generator

Generator()

A base class for all the generators.

Generators are used to produce resources (e.g. currencies), and can be controlled either manually or automatically by using an Automator.

Constructor

new Generator()

Source:

Members

(static) Builder

Builder class for creating new generators

Source:

Methods

downgrade()

Downgrades this generator by one level

Source:

getGeneratedAmount()

Retrieves the amount this generator currently is generating per processing cycle

Source:
Returns:

Amount of resources generated by this generator BIG INTEGER

getTimesProcessed()

Retrieves the number of times this generator has done its processing

Source:
Returns:

Number of times processed

isWorking()

Determines if this generator should generate anything based on its properties such as item level and probability.

Source:
Returns:

True if should work, false otherwise

process()

Processes this generator, generating resources as per the rules of this generator.

Source: