Class BancoContainerBukkit

java.lang.Object
ovh.mythmc.banco.api.bukkit.inventories.BancoContainerBukkit
All Implemented Interfaces:
BancoContainer<org.bukkit.inventory.ItemStack>, BancoStorage

public abstract class BancoContainerBukkit extends Object implements BancoContainer<org.bukkit.inventory.ItemStack>
  • Constructor Details

    • BancoContainerBukkit

      public BancoContainerBukkit()
  • Method Details

    • add

      @NotNull public @NotNull BigDecimal add(UUID uuid, BigDecimal amount)
      Specified by:
      add in interface BancoStorage
      Parameters:
      uuid - UUID of the account where items will be added
      amount - amount of money to add to this BancoStorage
      Returns:
      Total amount of money that has been added
    • remove

      @NotNull public @NotNull BigDecimal remove(UUID uuid, BigDecimal amount)
      Specified by:
      remove in interface BancoStorage
      Parameters:
      uuid - UUID of the account where items will be removed
      amount - amount of money to remove from this BancoStorage
      Returns:
      Amount of money that has not been removed