Class Trigger
java.lang.Object
rocks.gravili.notquests.paper.structs.triggers.Trigger
- Direct Known Subclasses:
BeginTrigger
,CompleteTrigger
,DeathTrigger
,DisconnectTrigger
,FailTrigger
,NPCDeathTrigger
,WorldEnterTrigger
,WorldLeaveTrigger
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
final int
final Category
final Quest
getQuest()
final Action
abstract String
final int
final String
final String
abstract void
abstract void
void
void
setAmountNeeded
(long amountNeeded) void
setApplyOn
(int applyOn) void
setCategory
(Category category) void
void
setTriggerID
(int triggerID) void
setWorldName
(String worldName) void
trigger
(ActiveQuest activeQuest)
-
Field Details
-
main
-
-
Constructor Details
-
Trigger
-
-
Method Details
-
getCategory
-
setCategory
-
setQuest
-
setTriggerID
public void setTriggerID(int triggerID) -
setAction
-
setApplyOn
public void setApplyOn(int applyOn) -
setWorldName
-
setAmountNeeded
public void setAmountNeeded(long amountNeeded) -
getQuest
-
getTriggerID
public final int getTriggerID() -
getTriggerType
-
getWorldName
-
getTriggerAction
-
getApplyOn
public final int getApplyOn() -
getAmountNeeded
public final long getAmountNeeded() -
trigger
-
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) -
getTriggerDescription
-