Class KillEliteMobsObjective
java.lang.Object
rocks.gravili.notquests.paper.structs.objectives.Objective
rocks.gravili.notquests.paper.structs.objectives.hooks.elitemobs.KillEliteMobsObjective
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal longfinal Stringfinal intfinal intfinal intgetObjectiveTaskDescription(String eventualColor, org.bukkit.entity.Player player) final Stringstatic voidhandleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) voidvoidonObjectiveUnlock(ActiveObjective activeObjective) voidvoidsetEliteMobToKillContainsName(String eliteMobToKillContainsName) voidsetMaximumLevel(int maximumLevel) voidsetMinimumDamagePercentage(int minimumDamagePercentage) voidsetMinimumLevel(int minimumLevel) voidsetSpawnReason(String spawnReason) Methods inherited from class rocks.gravili.notquests.paper.structs.objectives.Objective
addCondition, addReward, clearConditions, clearRewards, getCompletionArmorStandUUID, getCompletionNPCID, getConditions, getObjectiveDescription, getObjectiveDescription, getObjectiveDisplayName, getObjectiveFinalName, getObjectiveID, getProgressNeeded, getQuest, getRewards, removeCondition, removeObjectiveDescription, removeObjectiveDisplayName, removeReward, setCompletionArmorStandUUID, setCompletionNPCID, setObjectiveDescription, setObjectiveDisplayName, setObjectiveID, setProgressNeeded, setQuest
-
Constructor Details
-
KillEliteMobsObjective
-
-
Method Details
-
handleCommands
public static void handleCommands(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) -
setEliteMobToKillContainsName
-
setMinimumLevel
public void setMinimumLevel(int minimumLevel) -
setMaximumLevel
public void setMaximumLevel(int maximumLevel) -
setSpawnReason
-
setMinimumDamagePercentage
public void setMinimumDamagePercentage(int minimumDamagePercentage) -
onObjectiveUnlock
- Specified by:
onObjectiveUnlockin classObjective
-
getEliteMobToKillContainsName
-
getAmountToKill
public final long getAmountToKill() -
getMinimumLevel
public final int getMinimumLevel() -
getMaximumLevel
public final int getMaximumLevel() -
getSpawnReason
-
getMinimumDamagePercentage
public final int getMinimumDamagePercentage() -
getObjectiveTaskDescription
- Specified by:
getObjectiveTaskDescriptionin classObjective
-
save
-
load
-