Class BukkitPartiesPlayerPostTeleportEvent
java.lang.Object
org.bukkit.event.Event
com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
com.alessiodp.parties.api.events.bukkit.player.BukkitPartiesPlayerPostTeleportEvent
- All Implemented Interfaces:
IPlayerPostTeleportEvent,PartiesEvent
public class BukkitPartiesPlayerPostTeleportEvent
extends BukkitPartiesEvent
implements IPlayerPostTeleportEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionBukkitPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, org.bukkit.Location destination) -
Method Summary
Modifier and TypeMethodDescription@NotNull org.bukkit.LocationGet the destination as Location@NotNull PartygetParty()Get the party@NotNull PartyPlayerGet the player who got teleportedMethods inherited from class com.alessiodp.parties.api.events.bukkit.BukkitPartiesEvent
getApi, getHandlerList, getHandlers, setApiMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
Constructor Details
-
BukkitPartiesPlayerPostTeleportEvent
public BukkitPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, org.bukkit.Location destination)
-
-
Method Details
-
getPartyPlayer
Description copied from interface:IPlayerPostTeleportEventGet the player who got teleported- Specified by:
getPartyPlayerin interfaceIPlayerPostTeleportEvent- Returns:
- the
PartyPlayer
-
getParty
Description copied from interface:IPlayerPostTeleportEventGet the party- Specified by:
getPartyin interfaceIPlayerPostTeleportEvent- Returns:
- the
Party
-
getDestination
@NotNull public @NotNull org.bukkit.Location getDestination()Get the destination as Location- Returns:
- the
Location
-