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
BankAccountimplementation (PlayerPartyStorage) For any economy bridges, this event MUST be listened to and the balance MUST be assigned in case someone uses thePlayerPartyStoragemethods for getting the balance The methods inPlayerPartyStorageexist for the case of single player or any instances where no otherBankAccountimplementation is providedEvent fired just after a transaction is applied to theBankAccountEvent fired just before a transaction is applied to theBankAccountIf cancelled the transaction will not take placeEvent fired when setting the balance of the player through the defaultBankAccountimplementation (PlayerPartyStorage) For any economy bridges, this event MUST be listened to and the balance MUST be assigned in case someone uses thePlayerPartyStoragemethods for setting the balance The methods inPlayerPartyStorageexist for the case of single player or any instances where no otherBankAccountimplementation is providedAn enum representing the type of transaction