Enum ShopOpenCause

java.lang.Object
java.lang.Enum<ShopOpenCause>
de.marcely.bedwars.api.game.shop.ShopOpenCause
All Implemented Interfaces:
Serializable, Comparable<ShopOpenCause>, java.lang.constant.Constable

public enum ShopOpenCause extends Enum<ShopOpenCause>
  • Enum Constant Details

    • DEALER

      public static final ShopOpenCause DEALER
      Player clicked on a dealer that has been spawned with /bw summon dealer
    • MINI_SHOP

      public static final ShopOpenCause MINI_SHOP
      Player clicked on a dealer that has been spawned with SpecialItemType.MINI_SHOP
    • VILLAGER

      public static final ShopOpenCause VILLAGER
      Player clicked on a normal villager hologram
    • CHANGE_PAGE

      public static final ShopOpenCause CHANGE_PAGE
      Player changed the page
    • REFRESH

      public static final ShopOpenCause REFRESH
      Page has been refreshed (After a purchase)
    • COMMAND

      public static final ShopOpenCause COMMAND
      The shop was opened using a command
    • DEBUG

      @Deprecated public static final ShopOpenCause DEBUG
      Deprecated.
      This will be removed in the future as it has been replaced by /bw tools openshop
      Player used a debug command to open the shop.
    • PLUGIN

      public static final ShopOpenCause PLUGIN
      A plugin opened the GUI
  • Method Details

    • values

      public static ShopOpenCause[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ShopOpenCause valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null