Class DataAction
- java.lang.Object
-
- dev.linwood.itemmods.action.pack.raw.DataAction
-
- All Implemented Interfaces:
CommandAction
,TranslationCommandAction
public class DataAction extends java.lang.Object implements TranslationCommandAction
-
-
Constructor Summary
Constructors Constructor Description DataAction(@NotNull java.lang.Class<? extends RawAsset> assetClass, @NotNull PackObject packObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description dev.linwood.api.translations.Translation
getTranslationNamespace()
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
-
Methods inherited from interface dev.linwood.itemmods.action.CommandAction
handleCommand, tabComplete
-
Methods inherited from interface dev.linwood.itemmods.action.TranslationCommandAction
getTranslation, hasTranslation
-
-
-
-
Constructor Detail
-
DataAction
public DataAction(@NotNull @NotNull java.lang.Class<? extends RawAsset> assetClass, @NotNull @NotNull PackObject packObject)
-
-
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
-
showGui
public boolean showGui(org.bukkit.command.CommandSender sender, @Nullable @Nullable java.util.function.Consumer<org.bukkit.event.inventory.InventoryClickEvent> backAction)
-
-