Package com.pixelmonmod.pixelmon.api.economy
package com.pixelmonmod.pixelmon.api.economy
-
ClassDescriptionRepresents a storage of an economy for a given entityInterface responsible for getting a bank account for a particular ServerPlayerEntity or UUID.Static factory for managing pixelmon bank accountsSuperclass of all events relating to the economyEvent fired when getting the balance of the player through the default
BankAccount
implementation (PlayerPartyStorage
) For any economy bridges, this event MUST be listened to and the balance MUST be assigned in case someone uses thePlayerPartyStorage
methods for getting the balance The methods inPlayerPartyStorage
exist for the case of single player or any instances where no otherBankAccount
implementation is providedEvent fired just after a transaction is applied to theBankAccount
Event fired just before a transaction is applied to theBankAccount
If cancelled the transaction will not take placeEvent fired when setting the balance of the player through the defaultBankAccount
implementation (PlayerPartyStorage
) For any economy bridges, this event MUST be listened to and the balance MUST be assigned in case someone uses thePlayerPartyStorage
methods for setting the balance The methods inPlayerPartyStorage
exist for the case of single player or any instances where no otherBankAccount
implementation is providedAn enum representing the type of transaction