Class ActionAction
java.lang.Object
rocks.gravili.notquests.paper.structs.actions.Action
rocks.gravili.notquests.paper.structs.actions.ActionAction
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deserializeFromSingleLineString
(ArrayList<String> arguments) void
final Action
getActionDescription
(org.bukkit.entity.Player player, Object... objects) final int
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) final boolean
void
void
void
void
setAmount
(int amount) void
setIgnoreConditions
(boolean ignoreConditions) 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
-
ActionAction
-
-
Method Details
-
handleCommands
-
getAction
-
setAction
-
getAmount
public final int getAmount() -
setAmount
public void setAmount(int amount) -
isIgnoreConditions
public final boolean isIgnoreConditions() -
setIgnoreConditions
public void setIgnoreConditions(boolean ignoreConditions) -
execute
-
save
-
load
-
deserializeFromSingleLineString
- Specified by:
deserializeFromSingleLineString
in classAction
-
getActionDescription
- Specified by:
getActionDescription
in classAction
-