Package fr.andross.banitem.events
Class PlayerRegionChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
fr.andross.banitem.events.PlayerRegionChangeEvent
public final class PlayerRegionChangeEvent
extends org.bukkit.event.player.PlayerEvent
Called if the wear region check action is enabled.
This is only for check purpose, no modifications can be made.
Cancelling the event will not cancel the player movement.
- Version:
- 3.1
- Author:
- Andross
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerRegionChangeEvent
public PlayerRegionChangeEvent(@NotNull org.bukkit.entity.Player player)
-
-
Method Details
-
getHandlers
@NotNull public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static org.bukkit.event.HandlerList getHandlerList()
-