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, setApi
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApi, setApi
public VelocityPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, com.velocitypowered.api.proxy.server.RegisteredServer 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 com.velocitypowered.api.proxy.server.RegisteredServer getDestination()
RegisteredServer
Copyright © 2023. All rights reserved.