Class BlocksDisableScenario
java.lang.Object
org.bukkit.scheduler.BukkitRunnable
uk.radialbog9.spigot.manhunt.scenario.scenarios.BlocksDisableScenario
- All Implemented Interfaces:
Runnable
,org.bukkit.event.Listener
,ScenarioConfigurable
public class BlocksDisableScenario
extends org.bukkit.scheduler.BukkitRunnable
implements org.bukkit.event.Listener, ScenarioConfigurable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
blockBreak
(org.bukkit.event.block.BlockBreakEvent e) void
blockPlace
(org.bukkit.event.block.BlockPlaceEvent 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
-
BlocksDisableScenario
public BlocksDisableScenario()
-
-
Method Details
-
setConfig
- Specified by:
setConfig
in interfaceScenarioConfigurable
-
run
public void run() -
blockBreak
public void blockBreak(org.bukkit.event.block.BlockBreakEvent e) -
blockPlace
public void blockPlace(org.bukkit.event.block.BlockPlaceEvent e)
-