Class SpawnMobAction
java.lang.Object
rocks.gravili.notquests.structs.actions.Action
rocks.gravili.notquests.structs.actions.SpawnMobAction
-
Field Summary
-
Constructor Summary
Constructors -
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.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
public void save(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath) -
load
public void load(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath) -
getActionDescription
- Specified by:
getActionDescription
in classAction
-