public class BukkitPartiesPlayerPostTeleportEvent extends BukkitPartiesEvent implements IPlayerPostTeleportEvent
Constructor and Description |
---|
BukkitPartiesPlayerPostTeleportEvent(PartyPlayer player,
Party party,
org.bukkit.Location destination) |
Modifier and Type | Method and Description |
---|---|
@NotNull org.bukkit.Location |
getDestination()
Get the destination as Location
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player who got teleported
|
getApi, getHandlerList, getHandlers, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public BukkitPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, org.bukkit.Location destination)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostTeleportEvent
getPartyPlayer
in interface IPlayerPostTeleportEvent
PartyPlayer
@NotNull public @NotNull Party getParty()
IPlayerPostTeleportEvent
getParty
in interface IPlayerPostTeleportEvent
Party
@NotNull public @NotNull org.bukkit.Location getDestination()
Location
Copyright © 2023. All rights reserved.