Package | Description |
---|---|
me.block2block.hubparkour.api | |
me.block2block.hubparkour.api.events.player | |
me.block2block.hubparkour.api.items |
Modifier and Type | Method and Description |
---|---|
IHubParkourPlayer |
ParkourRun.getPlayer()
Get the player who is doing this parkour run.
|
static IHubParkourPlayer |
HubParkourAPI.getPlayer(org.bukkit.entity.Player player)
Get a player that is currently in parkour.
|
abstract IHubParkourPlayer |
BackendAPI.getPlayer(org.bukkit.entity.Player player)
Get a player that is currently in parkour.
|
Modifier and Type | Method and Description |
---|---|
List<IHubParkourPlayer> |
IParkour.getPlayers()
Gets the list of all players currently playing in the parkour.
|
Modifier and Type | Method and Description |
---|---|
void |
IParkour.playerEnd(IHubParkourPlayer p)
End the player on this parkour.
|
void |
IParkour.playerStart(IHubParkourPlayer p)
Start a player on this parkour.
|
Constructor and Description |
---|
ParkourRun(IHubParkourPlayer player)
Initiates a brand-new parkour run with empty statistics.
|
Modifier and Type | Method and Description |
---|---|
IHubParkourPlayer |
ParkourPlayerEvent.getPlayer()
Get the player for which this event was called from.
|
Constructor and Description |
---|
ParkourPlayerCheckpointEvent(IParkour parkour,
IHubParkourPlayer player,
Checkpoint checkpoint) |
ParkourPlayerEvent(IParkour parkour,
IHubParkourPlayer player) |
ParkourPlayerFailEvent(IParkour parkour,
IHubParkourPlayer player,
ParkourPlayerFailEvent.FailCause failCause) |
ParkourPlayerFinishEvent(IParkour parkour,
IHubParkourPlayer player,
long parkourTime,
long parkourFinishTimestamp,
long parkourStartTimestamp) |
ParkourPlayerLeaveEvent(IParkour parkour,
IHubParkourPlayer player) |
ParkourPlayerStartEvent(IParkour parkour,
IHubParkourPlayer player,
long startTimeStamp) |
ParkourPlayerTeleportEvent(IParkour parkour,
IHubParkourPlayer player,
PressurePlate pressurePlate,
ParkourPlayerTeleportEvent.TeleportReason teleportReason) |
ParkourPlayerTogglePlayersEvent(IParkour parkour,
IHubParkourPlayer player,
boolean visible) |
Modifier and Type | Field and Description |
---|---|
protected IHubParkourPlayer |
ParkourItem.player |
Modifier and Type | Method and Description |
---|---|
IHubParkourPlayer |
ParkourItem.getPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
ParkourItem.setPlayer(IHubParkourPlayer player)
Updates the player for this item.
|
Constructor and Description |
---|
CancelItem(IHubParkourPlayer player,
int slot) |
CheckpointItem(IHubParkourPlayer player,
int slot) |
HideItem(IHubParkourPlayer player,
int slot) |
ParkourItem(IHubParkourPlayer player,
int slot) |
ResetItem(IHubParkourPlayer player,
int slot) |
ShowItem(IHubParkourPlayer player,
int slot) |
Copyright © 2025. All rights reserved.