Builder

class Builder

Builder class for creating KtInventoryStorableOption instances.

Since

2.0.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun allowSave(block: (event: InventoryCloseEvent) -> Boolean)

Sets the condition for allowing inventory save.

Link copied to clipboard

Builds and returns a new KtInventoryStorableOption instance.

Link copied to clipboard
fun onSave(block: () -> Unit)

Sets the action to be performed on save.