Class SpawnMobAction

java.lang.Object
rocks.gravili.notquests.spigot.structs.actions.Action
rocks.gravili.notquests.spigot.structs.actions.SpawnMobAction

public class SpawnMobAction extends Action
  • Constructor Details

    • SpawnMobAction

      public SpawnMobAction(NotQuests main)
  • 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> builder, ActionFor rewardFor)
    • getMobToSpawnType

      public final String getMobToSpawnType()
    • setMobToSpawnType

      public void setMobToSpawnType(String mobToSpawnType)
    • 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

      public void execute(org.bukkit.entity.Player player, Object... objects)
      Specified by:
      execute in class Action
    • execute2

      public void execute2(org.bukkit.entity.Player player, Object... objects)
    • save

      public void save(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
      Specified by:
      save in class Action
    • load

      public void load(org.bukkit.configuration.file.FileConfiguration configuration, String initialPath)
      Specified by:
      load in class Action
    • getActionDescription

      public String getActionDescription()
      Specified by:
      getActionDescription in class Action