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