Class PlayerInteractSpecialBlockEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerInteractSpecialBlockEvent
- All Implemented Interfaces:
Cancellable
Gets called when a player tries to interact with a
SpecialBlock-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlock()Get the special block the player tried to interact with.static HandlerListMethods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
getEventName, isAsynchronousMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Cancellable
isCancelled, setCancelled
-
Constructor Details
-
PlayerInteractSpecialBlockEvent
-
-
Method Details
-
getBlock
Get the special block the player tried to interact with.- Returns:
- The special block that is involved in this event
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-