public class VelocityPartiesPlayerPostTeleportEvent extends VelocityPartiesEvent implements IPlayerPostTeleportEvent
| Constructor and Description |
|---|
VelocityPartiesPlayerPostTeleportEvent(PartyPlayer player,
Party party,
com.velocitypowered.api.proxy.server.RegisteredServer destination) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.velocitypowered.api.proxy.server.RegisteredServer |
getDestination()
Get the destination as RegisteredServer
|
@NotNull Party |
getParty()
Get the party
|
@NotNull PartyPlayer |
getPartyPlayer()
Get the player who got teleported
|
getApi, setApiclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApi, setApipublic VelocityPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, com.velocitypowered.api.proxy.server.RegisteredServer destination)
@NotNull public @NotNull PartyPlayer getPartyPlayer()
IPlayerPostTeleportEventgetPartyPlayer in interface IPlayerPostTeleportEventPartyPlayer@NotNull public @NotNull Party getParty()
IPlayerPostTeleportEventgetParty in interface IPlayerPostTeleportEventParty@NotNull public @NotNull com.velocitypowered.api.proxy.server.RegisteredServer getDestination()
RegisteredServerCopyright © 2023. All rights reserved.