Documentation

transaction

Namespaces

action

Interfaces, Classes, Traits and Enums

CraftingTransaction
This transaction type is specialized for crafting validation. It shares most of the same semantics of the base inventory transaction type, but the requirement for validity is slightly different.
InventoryTransaction
This is the basic type for an inventory transaction. This is used for moving items between inventories, dropping items and more. It allows transactions with multiple inputs and outputs.
TransactionBuilderInventory
This class facilitates generating SlotChangeActions to build an inventory transaction.
TransactionCancelledException
Thrown when an inventory transaction is valid, but can't proceed due to other factors (e.g. a plugin intervened).
TransactionException
Thrown when a transaction fails to execute for any reason.
TransactionValidationException
Thrown when a transaction cannot proceed due to preconditions not being met (e.g. transaction doesn't balance).

Search results