Class GiveItemAction
java.lang.Object
rocks.gravili.notquests.paper.structs.actions.Action
rocks.gravili.notquests.paper.structs.actions.GiveItemAction
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deserializeFromSingleLineString
(ArrayList<String> arguments) void
getActionDescription
(org.bukkit.entity.Player player, Object... objects) final org.bukkit.inventory.ItemStack
static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ActionFor rewardFor) void
void
void
setItem
(org.bukkit.inventory.ItemStack item) Methods inherited from class rocks.gravili.notquests.paper.structs.actions.Action
addCondition, clearConditions, getActionName, getActionType, getCategory, getConditions, getObjective, getQuest, removeActionName, removeCondition, setActionName, setCategory, setObjective, setQuest
-
Constructor Details
-
GiveItemAction
-
-
Method Details
-
handleCommands
-
setItem
public void setItem(org.bukkit.inventory.ItemStack item) -
execute
-
getActionDescription
- Specified by:
getActionDescription
in classAction
-
save
-
getItemReward
public final org.bukkit.inventory.ItemStack getItemReward() -
load
-
deserializeFromSingleLineString
- Specified by:
deserializeFromSingleLineString
in classAction
-