InitStage

Defines the stage at which something should be initialized.

Parameters

internalStage

The internal InternalInitStage to use.

runAfter

The default set of initializables that should this one should be initialized after.

runBefore

The default set of initializables that should this one should be initialized before.

Entries

Link copied to clipboard

Before the world is loaded.

Link copied to clipboard

Before the resource pack generation starts.

Link copied to clipboard

After the first stage of resource pack generation ("pre-world") has finished. Lookup registries are now loaded.

Link copied to clipboard

After the world has been loaded.

Link copied to clipboard

After the second (and last) stage of resource pack generation ("post-world") has finished.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): InitStage

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.