Class PacksAction

    • Constructor Summary

      Constructors 
      Constructor Description
      PacksAction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createPack​(org.bukkit.command.CommandSender sender)  
      void createPack​(org.bukkit.command.CommandSender sender, @Nullable java.lang.Runnable action)  
      void createPack​(org.bukkit.command.CommandSender sender, java.lang.String name)  
      java.lang.String getTranslation​(java.lang.String key, java.lang.Object... placeholders)  
      dev.linwood.api.translations.Translation getTranslationNamespace()  
      void openPack​(org.bukkit.command.CommandSender sender, java.lang.String name)  
      void showChoose​(org.bukkit.command.CommandSender sender, @NotNull java.util.function.Consumer<ItemModsPack> action)  
      void showChoose​(org.bukkit.command.CommandSender sender, @NotNull java.util.function.Consumer<ItemModsPack> action, @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)  
      boolean showGui​(org.bukkit.command.CommandSender sender)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PacksAction

        public PacksAction()
    • Method Detail

      • showGui

        public boolean showGui​(org.bukkit.command.CommandSender sender)
        Specified by:
        showGui in interface CommandAction
      • openPack

        public void openPack​(org.bukkit.command.CommandSender sender,
                             java.lang.String name)
      • createPack

        public void createPack​(org.bukkit.command.CommandSender sender)
      • createPack

        public void createPack​(org.bukkit.command.CommandSender sender,
                               @Nullable
                               @Nullable java.lang.Runnable action)
      • createPack

        public void createPack​(org.bukkit.command.CommandSender sender,
                               java.lang.String name)
                        throws java.lang.UnsupportedOperationException,
                               java.io.IOException
        Throws:
        java.lang.UnsupportedOperationException
        java.io.IOException
      • showChoose

        public void showChoose​(org.bukkit.command.CommandSender sender,
                               @NotNull
                               @NotNull java.util.function.Consumer<ItemModsPack> action)
      • showChoose

        public void showChoose​(org.bukkit.command.CommandSender sender,
                               @NotNull
                               @NotNull java.util.function.Consumer<ItemModsPack> action,
                               @Nullable
                               @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)