java.lang.Object
rocks.gravili.notquests.paper.structs.actions.Action
Direct Known Subclasses:
ActionAction, BooleanAction, BroadcastMessageAction, CompleteQuestAction, ConsoleCommandAction, FailQuestAction, GiveItemAction, GiveQuestAction, ListAction, NumberAction, SendMessageAction, SpawnMobAction, StartConversationAction, StringAction, TriggerCommandAction

public abstract class Action extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getCategory

      public final Category getCategory()
    • setCategory

      public void setCategory(Category category)
    • getActionType

      public final String getActionType()
    • getActionName

      public final String getActionName()
    • setActionName

      public void setActionName(String actionName)
    • removeActionName

      public void removeActionName()
    • getQuest

      public final Quest getQuest()
    • setQuest

      public void setQuest(Quest quest)
    • getObjective

      public final Objective getObjective()
    • setObjective

      public void setObjective(Objective objective)
    • getActionDescription

      public abstract String getActionDescription(org.bukkit.entity.Player player, Object... objects)
    • execute

      public abstract void execute(org.bukkit.entity.Player player, Object... objects)
    • save

      public abstract void save(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • load

      public abstract void load(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • getConditions

      public final ArrayList<Condition> getConditions()
    • addCondition

      public void addCondition(Condition condition, boolean save, org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • removeCondition

      public void removeCondition(Condition condition, boolean save, org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • clearConditions

      public void clearConditions(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
    • deserializeFromSingleLineString

      public abstract void deserializeFromSingleLineString(ArrayList<String> arguments)