java.lang.Object
org.screamingsandals.simpleinventories.inventory.InventorySet
All Implemented Interfaces:
org.screamingsandals.lib.container.Openable

public class InventorySet extends Object implements org.screamingsandals.lib.container.Openable
  • Constructor Details

    • InventorySet

      public InventorySet()
  • Method Details

    • registerPlaceholder

      public boolean registerPlaceholder(String name, String value)
    • registerPlaceholder

      public boolean registerPlaceholder(String name, IPlaceholderParser parser)
    • processPlaceholders

      public net.kyori.adventure.text.Component processPlaceholders(org.screamingsandals.lib.player.PlayerWrapper player, net.kyori.adventure.text.Component text, PlayerItemInfo info)
    • processPlaceholders

      public String processPlaceholders(org.screamingsandals.lib.player.PlayerWrapper player, String text, PlayerItemInfo info)
    • resolveItemLink

      public Optional<GenericItemInfo> resolveItemLink(String link)
    • resolveIdentifiableEntry

      public Optional<IdentifiableEntry> resolveIdentifiableEntry(String link)
    • resolveCategoryLink

      public Optional<SubInventory> resolveCategoryLink(String link)
    • openInventory

      public void openInventory(org.screamingsandals.lib.player.PlayerWrapper wrapper)
      Specified by:
      openInventory in interface org.screamingsandals.lib.container.Openable
    • isGenericShop

      public boolean isGenericShop()
    • isGenericShopPriceTypeRequired

      public boolean isGenericShopPriceTypeRequired()
    • isAnimationsEnabled

      public boolean isAnimationsEnabled()
    • isAllowAccessToConsole

      public boolean isAllowAccessToConsole()
    • isAllowBungeecordPlayerSending

      public boolean isAllowBungeecordPlayerSending()
    • getEventManager

      public org.screamingsandals.lib.event.EventManager getEventManager()
    • getPlaceholders

      public Map<String,IPlaceholderParser> getPlaceholders()
    • getIds

      public Map<String,IdentifiableEntry> getIds()
    • getVariableToPropertyMap

      public Map<String,String> getVariableToPropertyMap()
    • getMainSubInventory

      public SubInventory getMainSubInventory()
    • getInsertQueue

      public Deque<Insert> getInsertQueue()
    • setGenericShop

      public void setGenericShop(boolean genericShop)
    • setGenericShopPriceTypeRequired

      public void setGenericShopPriceTypeRequired(boolean genericShopPriceTypeRequired)
    • setAnimationsEnabled

      public void setAnimationsEnabled(boolean animationsEnabled)
    • setAllowAccessToConsole

      public void setAllowAccessToConsole(boolean allowAccessToConsole)
    • setAllowBungeecordPlayerSending

      public void setAllowBungeecordPlayerSending(boolean allowBungeecordPlayerSending)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object