Class DeliverItemsObjective
java.lang.Object
rocks.gravili.notquests.paper.structs.objectives.Objective
rocks.gravili.notquests.paper.structs.objectives.DeliverItemsObjective
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
final org.bukkit.inventory.ItemStack
getObjectiveTaskDescription
(String eventualColor, org.bukkit.entity.Player player) final UUID
final int
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
void
void
onObjectiveUnlock
(ActiveObjective activeObjective) void
void
setDeliverAnyItem
(boolean deliverAnyItem) void
setItemToDeliver
(org.bukkit.inventory.ItemStack itemToDeliver) void
setRecipientArmorStandUUID
(UUID recipientArmorStandUUID) void
setRecipientNPCID
(int recipientNPCID) 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
-
DeliverItemsObjective
-
-
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) -
isDeliverAnyItem
public final boolean isDeliverAnyItem() -
setDeliverAnyItem
public void setDeliverAnyItem(boolean deliverAnyItem) -
setItemToDeliver
public void setItemToDeliver(org.bukkit.inventory.ItemStack itemToDeliver) -
setRecipientNPCID
public void setRecipientNPCID(int recipientNPCID) -
setRecipientArmorStandUUID
-
onObjectiveUnlock
- Specified by:
onObjectiveUnlock
in classObjective
-
getItemToDeliver
public final org.bukkit.inventory.ItemStack getItemToDeliver() -
getAmountToDeliver
public final long getAmountToDeliver() -
getRecipientNPCID
public final int getRecipientNPCID() -
getRecipientArmorStandUUID
-
getObjectiveTaskDescription
- Specified by:
getObjectiveTaskDescription
in classObjective
-
save
-
load
-