Interface IPlayerPreHomeEvent
-
- All Superinterfaces:
Cancellable,PartiesEvent
- All Known Implementing Classes:
BukkitPartiesPlayerPreHomeEvent,BungeePartiesPlayerPreHomeEvent,VelocityPartiesPlayerPreHomeEvent
public interface IPlayerPreHomeEvent extends PartiesEvent, Cancellable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull PartyHomegetHome()Get the destination home@NotNull PartygetParty()Get the party@NotNull PartyPlayergetPartyPlayer()Get the player who is getting teleported-
Methods inherited from interface com.alessiodp.parties.api.events.Cancellable
isCancelled, setCancelled
-
Methods inherited from interface com.alessiodp.parties.api.events.PartiesEvent
getApi, setApi
-
-
-
-
Method Detail
-
getPartyPlayer
@NotNull @NotNull PartyPlayer getPartyPlayer()
Get the player who is getting teleported- Returns:
- the
PartyPlayer
-
-