public class BungeePartiesPlayerPostTeleportEvent extends BungeePartiesEvent implements IPlayerPostTeleportEvent
Constructor and Description |
---|
BungeePartiesPlayerPostTeleportEvent(PartyPlayer player,
Party party,
net.md_5.bungee.api.config.ServerInfo destination) |
Modifier and Type | Method and Description |
---|---|
@NotNull net.md_5.bungee.api.config.ServerInfo |
getDestination()
Get the destination as ServerInfo
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player who got teleported
|
getApi, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public BungeePartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, net.md_5.bungee.api.config.ServerInfo 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 net.md_5.bungee.api.config.ServerInfo getDestination()
ServerInfo
Copyright © 2023. All rights reserved.