Class VelocityPartiesPlayerPostTeleportEvent
java.lang.Object
com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
com.alessiodp.parties.api.events.velocity.player.VelocityPartiesPlayerPostTeleportEvent
- All Implemented Interfaces:
IPlayerPostTeleportEvent,PartiesEvent
public class VelocityPartiesPlayerPostTeleportEvent
extends VelocityPartiesEvent
implements IPlayerPostTeleportEvent
-
Constructor Summary
ConstructorsConstructorDescriptionVelocityPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, com.velocitypowered.api.proxy.server.RegisteredServer destination) -
Method Summary
Modifier and TypeMethodDescription@NotNull com.velocitypowered.api.proxy.server.RegisteredServerGet the destination as RegisteredServer@NotNull PartygetParty()Get the party@NotNull PartyPlayerGet the player who got teleportedMethods inherited from class com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
getApi, setApiMethods 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
-
VelocityPartiesPlayerPostTeleportEvent
public VelocityPartiesPlayerPostTeleportEvent(PartyPlayer player, Party party, com.velocitypowered.api.proxy.server.RegisteredServer 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 com.velocitypowered.api.proxy.server.RegisteredServer getDestination()Get the destination as RegisteredServer- Returns:
- the
RegisteredServer
-