RebarProcessor

An interface that tracks progress of some kind of process, such as processing a recipe, burning a piece of fuel, enchanting an item, etc

You can set a progress item with setRecipeProgressItem. This item will be automatically synchronized to the process progress, and will be persisted.

See also

Properties

Link copied to clipboard
@get:ApiStatus.NonExtendable
open val isProcessing: Boolean
Link copied to clipboard
Link copied to clipboard
@get:ApiStatus.NonExtendable
open val processTicksRemaining: Int?
Link copied to clipboard
@get:ApiStatus.NonExtendable
open val processTimeTicks: Int?

Functions

Link copied to clipboard
open fun finishProcess()
Link copied to clipboard
Link copied to clipboard
open fun startProcess(ticks: Int)

Starts a new process with duration ticks

Link copied to clipboard
open fun stopProcess()