Interface Account

  • All Superinterfaces:
    Contextual
    All Known Subinterfaces:
    UniqueAccount, VirtualAccount

    public interface Account
    extends Contextual
    Represents an account, which stores amounts of various currencies.

    Accounts come in two varieties: user accounts and VirtualAccount virtual accounts. Unique accounts are bound to a UUID, usually of a particular User's GameProfile. Virtual accounts are identified by a String identifier, which may have any value. They are not tied to any Entity, player or otherwise. Virtual accounts may be used for purposes such as bank accounts, non-player Entity accounts, or other things.