public interface IPixelmonBankAccountManager
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<? extends IPixelmonBankAccount> |
getBankAccount(net.minecraft.entity.player.EntityPlayerMP player)
Attempts to get the bank account for the given
EntityPlayerMP |
java.util.Optional<? extends IPixelmonBankAccount> |
getBankAccount(java.util.UUID uuid)
Attempts to get the bank account for the given
UUID, presumably a player's UUID |
default IPixelmonBankAccount |
getBankAccountUnsafe(net.minecraft.entity.player.EntityPlayerMP player)
Unsafe method of getting the player's bank account
Will return null if not found
|
default IPixelmonBankAccount |
getBankAccountUnsafe(java.util.UUID uuid)
Unsafe method of getting the player's (
UUID) bank account
Will return null if not found |
@Nullable default IPixelmonBankAccount getBankAccountUnsafe(java.util.UUID uuid)
UUID) bank account
Will return null if not founduuid - The UUID of the owner of the account@Nullable default IPixelmonBankAccount getBankAccountUnsafe(net.minecraft.entity.player.EntityPlayerMP player)
player - The owner of the accountjava.util.Optional<? extends IPixelmonBankAccount> getBankAccount(java.util.UUID uuid)
UUID, presumably a player's UUIDuuid - The owner of the accountdefault java.util.Optional<? extends IPixelmonBankAccount> getBankAccount(net.minecraft.entity.player.EntityPlayerMP player)
EntityPlayerMPplayer - The owner of the account