Class RunnerGhostsScenario
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
uk.radialbog9.spigot.manhunt.scenario.scenarios.RunnerGhostsScenario
- All Implemented Interfaces:
Runnable
,org.bukkit.event.Listener
,ScenarioConfigurable
public class RunnerGhostsScenario
extends org.bukkit.scheduler.BukkitRunnable
implements org.bukkit.event.Listener, ScenarioConfigurable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBlockBreak
(org.bukkit.event.block.BlockBreakEvent e) void
onBlockPlace
(org.bukkit.event.block.BlockPlaceEvent e) void
onDamage
(org.bukkit.event.entity.EntityDamageByEntityEvent e) void
onInteract
(org.bukkit.event.entity.EntityInteractEvent e) void
onInventory
(org.bukkit.event.inventory.InventoryClickEvent e) void
run()
void
setConfig
(ScenarioConfiguration config) Methods inherited from class org.bukkit.scheduler.BukkitRunnable
cancel, getTaskId, isCancelled, runTask, runTaskAsynchronously, runTaskLater, runTaskLaterAsynchronously, runTaskTimer, runTaskTimerAsynchronously
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface uk.radialbog9.spigot.manhunt.scenario.config.ScenarioConfigurable
getConfig
-
Constructor Details
-
RunnerGhostsScenario
public RunnerGhostsScenario()
-
-
Method Details
-
run
public void run() -
onBlockBreak
public void onBlockBreak(org.bukkit.event.block.BlockBreakEvent e) -
onBlockPlace
public void onBlockPlace(org.bukkit.event.block.BlockPlaceEvent e) -
onDamage
public void onDamage(org.bukkit.event.entity.EntityDamageByEntityEvent e) -
onInventory
public void onInventory(org.bukkit.event.inventory.InventoryClickEvent e) -
onInteract
public void onInteract(org.bukkit.event.entity.EntityInteractEvent e) -
setConfig
- Specified by:
setConfig
in interfaceScenarioConfigurable
-