public class VelocityPartiesPartyFollowEvent extends VelocityPartiesEvent implements Cancellable
| Constructor and Description |
|---|
VelocityPartiesPartyFollowEvent(Party party,
com.velocitypowered.api.proxy.server.RegisteredServer joinedServer) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull com.velocitypowered.api.proxy.server.RegisteredServer |
getJoinedServer()
Get the name of the server that the party will join into
|
@NotNull Party |
getParty()
Get the party
|
boolean |
isCancelled()
Is the event cancelled?
|
void |
setCancelled(boolean cancel)
Set the event as cancelled
|
getApi, setApipublic VelocityPartiesPartyFollowEvent(Party party, com.velocitypowered.api.proxy.server.RegisteredServer joinedServer)
@NotNull public @NotNull com.velocitypowered.api.proxy.server.RegisteredServer getJoinedServer()
public boolean isCancelled()
CancellableisCancelled in interface Cancellabletrue if the event is cancelledpublic void setCancelled(boolean cancel)
CancellablesetCancelled in interface Cancellablecancel - true to cancelCopyright © 2022. All rights reserved.