Class TexturesAction
- java.lang.Object
-
- dev.linwood.itemmods.action.pack.raw.TexturesAction
-
- All Implemented Interfaces:
CommandAction
,TranslationCommandAction
public class TexturesAction extends java.lang.Object implements TranslationCommandAction
-
-
Constructor Summary
Constructors Constructor Description TexturesAction(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(org.bukkit.command.CommandSender sender, @NotNull java.util.function.Consumer<TextureAsset> action)
void
showChoose(org.bukkit.command.CommandSender sender, @NotNull java.util.function.Consumer<TextureAsset> 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
-
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(org.bukkit.command.CommandSender sender, @NotNull @NotNull java.util.function.Consumer<TextureAsset> action)
-
showChoose
public void showChoose(org.bukkit.command.CommandSender sender, @NotNull @NotNull java.util.function.Consumer<TextureAsset> action, @Nullable @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)
-
-