Module gomint.api

Class InventoryTransactionEvent

    • Constructor Detail

      • InventoryTransactionEvent

        public InventoryTransactionEvent​(EntityPlayer player,
                                         List<Transaction> transactions)
        Create a transaction event to control inventory movements
        Parameters:
        player - which has executed this transaction
        transactions - which should be executed
    • Method Detail

      • getTransactions

        public List<Transaction> getTransactions()
        Get the transactions which should be executed
        Returns:
        transactions which may be applied