Class PlayerEntersIntoDistrictEvent
java.lang.Object
org.bukkit.event.Event
com.palmergames.bukkit.towny.event.player.PlayerEntersIntoDistrictEvent
public class PlayerEntersIntoDistrictEvent
extends org.bukkit.event.Event
Thrown when a player crosses into Town border.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerEntersIntoDistrictEvent
(org.bukkit.entity.Player player, WorldCoord to, WorldCoord from, District enteredDistrict, org.bukkit.event.player.PlayerMoveEvent pme) -
Method Summary
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerEntersIntoDistrictEvent
public PlayerEntersIntoDistrictEvent(org.bukkit.entity.Player player, WorldCoord to, WorldCoord from, District enteredDistrict, org.bukkit.event.player.PlayerMoveEvent pme)
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList() -
getPlayer
public org.bukkit.entity.Player getPlayer() -
getResident
-
getPlayerMoveEvent
public org.bukkit.event.player.PlayerMoveEvent getPlayerMoveEvent() -
getEnteredDistrict
-
getFrom
-
getTo
-