Package dev.linwood.itemmods.action.pack
Class ItemsAction
- java.lang.Object
-
- dev.linwood.itemmods.action.pack.ItemsAction
-
- All Implemented Interfaces:
CommandAction
,TranslationCommandAction
public class ItemsAction extends java.lang.Object implements TranslationCommandAction
-
-
Constructor Summary
Constructors Constructor Description ItemsAction(java.lang.String namespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description dev.linwood.api.translations.Translation
getTranslationNamespace()
void
showChoose(@NotNull java.util.function.Consumer<ItemAsset> action, org.bukkit.command.CommandSender sender)
void
showChoose(@Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction, @NotNull java.util.function.Consumer<ItemAsset> action, org.bukkit.command.CommandSender sender)
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
-
Methods inherited from interface dev.linwood.itemmods.action.CommandAction
handleCommand, tabComplete
-
Methods inherited from interface dev.linwood.itemmods.action.TranslationCommandAction
getTranslation, hasTranslation
-
-
-
-
Method Detail
-
getTranslationNamespace
public dev.linwood.api.translations.Translation getTranslationNamespace()
- Specified by:
getTranslationNamespace
in interfaceTranslationCommandAction
-
showGui
public boolean showGui(org.bukkit.command.CommandSender sender)
- Specified by:
showGui
in interfaceCommandAction
-
showChoose
public void showChoose(@NotNull @NotNull java.util.function.Consumer<ItemAsset> action, org.bukkit.command.CommandSender sender)
-
showChoose
public void showChoose(@Nullable @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction, @NotNull @NotNull java.util.function.Consumer<ItemAsset> action, org.bukkit.command.CommandSender sender)
-
-