Class SpawnMobAction
java.lang.Object
rocks.gravili.notquests.paper.structs.actions.Action
rocks.gravili.notquests.paper.structs.actions.SpawnMobAction
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deserializeFromSingleLineString
(ArrayList<String> arguments) void
void
getActionDescription
(org.bukkit.entity.Player player, Object... objects) 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.paper.structs.actions.Action
addCondition, clearConditions, getActionName, getActionType, getCategory, getConditions, getObjective, getQuest, removeActionName, removeCondition, setActionName, setCategory, 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
-
deserializeFromSingleLineString
- Specified by:
deserializeFromSingleLineString
in classAction
-
getActionDescription
- Specified by:
getActionDescription
in classAction
-