Class InteractObjective
java.lang.Object
rocks.gravili.notquests.spigot.structs.objectives.Objective
rocks.gravili.notquests.spigot.structs.objectives.InteractObjective
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal org.bukkit.Location
final int
getObjectiveTaskDescription
(String eventualColor, org.bukkit.entity.Player player) final String
static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> addObjectiveBuilder) final boolean
final boolean
final boolean
void
void
onObjectiveUnlock
(ActiveObjective activeObjective) void
void
setCancelInteraction
(boolean cancelInteraction) void
setLeftClick
(boolean leftClick) void
setLocationToInteract
(org.bukkit.Location locationToInteract) void
setMaxDistance
(int maxDistance) void
setRightClick
(boolean rightClick) void
setTaskDescription
(String taskDescription) Methods inherited from class rocks.gravili.notquests.spigot.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
-
InteractObjective
-
-
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) -
setLocationToInteract
public void setLocationToInteract(org.bukkit.Location locationToInteract) -
setLeftClick
public void setLeftClick(boolean leftClick) -
setRightClick
public void setRightClick(boolean rightClick) -
setTaskDescription
-
setMaxDistance
public void setMaxDistance(int maxDistance) -
setCancelInteraction
public void setCancelInteraction(boolean cancelInteraction) -
getObjectiveTaskDescription
- Specified by:
getObjectiveTaskDescription
in classObjective
-
save
-
load
-
onObjectiveUnlock
- Specified by:
onObjectiveUnlock
in classObjective
-
getLocationToInteract
public final org.bukkit.Location getLocationToInteract() -
isLeftClick
public final boolean isLeftClick() -
isRightClick
public final boolean isRightClick() -
getTaskDescription
-
getMaxDistance
public final int getMaxDistance() -
isCancelInteraction
public final boolean isCancelInteraction()
-