Class SpawnMobAction
java.lang.Object
rocks.gravili.notquests.spigot.structs.actions.Action
rocks.gravili.notquests.spigot.structs.actions.SpawnMobAction
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
final String
final int
final org.bukkit.Location
static void
handleCommands
(NotQuests main, cloud.commandframework.paper.PaperCommandManager<org.bukkit.command.CommandSender> manager, cloud.commandframework.Command.Builder<org.bukkit.command.CommandSender> builder, ActionFor rewardFor) final boolean
void
void
void
setMobToSpawnType
(String mobToSpawnType) void
setSpawnAmount
(int spawnAmount) void
setSpawnLocation
(org.bukkit.Location spawnLocation) void
setUsePlayerLocation
(boolean usePlayerLocation) Methods inherited from class rocks.gravili.notquests.spigot.structs.actions.Action
addCondition, clearConditions, getActionName, getActionType, getConditions, getObjective, getQuest, removeActionName, removeCondition, setActionName, setObjective, setQuest
-
Constructor Details
-
SpawnMobAction
-
-
Method Details
-
handleCommands
-
getMobToSpawnType
-
setMobToSpawnType
-
getSpawnLocation
public final org.bukkit.Location getSpawnLocation() -
setSpawnLocation
public void setSpawnLocation(org.bukkit.Location spawnLocation) -
isUsePlayerLocation
public final boolean isUsePlayerLocation() -
setUsePlayerLocation
public void setUsePlayerLocation(boolean usePlayerLocation) -
getSpawnAmount
public final int getSpawnAmount() -
setSpawnAmount
public void setSpawnAmount(int spawnAmount) -
execute
-
execute2
-
save
-
load
-
getActionDescription
- Specified by:
getActionDescription
in classAction
-