Class TemplateAction

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      dev.linwood.api.translations.Translation getTranslationNamespace()  
      static boolean showChoose​(org.bukkit.command.CommandSender sender, java.lang.String namespace, @NotNull java.util.function.Consumer<CustomTemplate> action)  
      static boolean showChoose​(org.bukkit.command.CommandSender sender, java.lang.String namespace, @NotNull java.util.function.Consumer<CustomTemplate> action, @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)  
      boolean showGui​(org.bukkit.command.CommandSender sender)  
      boolean showGui​(org.bukkit.command.CommandSender sender, @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)  
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • showChoose

        public static boolean showChoose​(org.bukkit.command.CommandSender sender,
                                         java.lang.String namespace,
                                         @NotNull
                                         @NotNull java.util.function.Consumer<CustomTemplate> action)
      • showChoose

        public static boolean showChoose​(org.bukkit.command.CommandSender sender,
                                         java.lang.String namespace,
                                         @NotNull
                                         @NotNull java.util.function.Consumer<CustomTemplate> action,
                                         @Nullable
                                         @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)
      • showGui

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

        public boolean showGui​(org.bukkit.command.CommandSender sender,
                               @Nullable
                               @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)