Class VelocityPartiesPlayerPostHomeEvent
- java.lang.Object
-
- com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
-
- com.alessiodp.parties.api.events.velocity.player.VelocityPartiesPlayerPostHomeEvent
-
- All Implemented Interfaces:
IPlayerPostHomeEvent,PartiesEvent
public class VelocityPartiesPlayerPostHomeEvent extends VelocityPartiesEvent implements IPlayerPostHomeEvent
-
-
Constructor Summary
Constructors Constructor Description VelocityPartiesPlayerPostHomeEvent(PartyPlayer player, Party party, PartyHome home)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PartyHomegetHome()Get the destination home@NotNull PartygetParty()Get the party@NotNull PartyPlayergetPartyPlayer()Get the player who got teleported-
Methods inherited from class com.alessiodp.parties.api.events.velocity.VelocityPartiesEvent
getApi, setApi
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Constructor Detail
-
VelocityPartiesPlayerPostHomeEvent
public VelocityPartiesPlayerPostHomeEvent(PartyPlayer player, Party party, PartyHome home)
-
-
Method Detail
-
getPartyPlayer
@NotNull public @NotNull PartyPlayer getPartyPlayer()
Description copied from interface:IPlayerPostHomeEventGet the player who got teleported- Specified by:
getPartyPlayerin interfaceIPlayerPostHomeEvent- Returns:
- the
PartyPlayer
-
getParty
@NotNull public @NotNull Party getParty()
Description copied from interface:IPlayerPostHomeEventGet the party- Specified by:
getPartyin interfaceIPlayerPostHomeEvent- Returns:
- the
Party
-
getHome
@NotNull public @NotNull PartyHome getHome()
Description copied from interface:IPlayerPostHomeEventGet the destination home- Specified by:
getHomein interfaceIPlayerPostHomeEvent- Returns:
- the
PartyHome
-
-