ParkourPlugin

public class ParkourPlugin extends JavaPlugin

The main plugin class for Parkour. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.

java.lang.Object > JavaPlugin > ParkourPlugin

Field Summary

parkourCheckpointModel

private Model parkourCheckpointModel

Field parkourCheckpointModel.

lastIndex

private int lastIndex

Field lastIndex.

entityModule

final EntityModule entityModule

Field entityModule.

modelAsset

final ModelAsset modelAsset

Field modelAsset.

Method Detail

get

static ParkourPlugin get ()

Method get.

ParkourPlugin

public public ParkourPlugin (@Nonnull final JavaPluginInit init)

Method ParkourPlugin.

Parameters:
@Nonnull final JavaPluginInit init

getParkourCheckpointComponentType

public ParkourCheckpoint> getParkourCheckpointComponentType ()

Method getParkourCheckpointComponentType.

getParkourCheckpointModel

public Model getParkourCheckpointModel ()

Method getParkourCheckpointModel.

getCurrentCheckpointByPlayerMap

public Object2IntMap getCurrentCheckpointByPlayerMap ()

Method getCurrentCheckpointByPlayerMap.

getStartTimeByPlayerMap

public Object2LongMap getStartTimeByPlayerMap ()

Method getStartTimeByPlayerMap.

getCheckpointUUIDMap

public Int2ObjectMap getCheckpointUUIDMap ()

Method getCheckpointUUIDMap.

getLastIndex

public int getLastIndex ()

Method getLastIndex.

setup

protected void setup ()

Method setup.

ParkourCommand

public new ParkourCommand ()

Method ParkourCommand.

start

protected void start ()

Method start.

IllegalStateException

public new IllegalStateException (String.format("Default parkour checkpoint model '%s' not found", "Objective_Location_Marker")

Method IllegalStateException.

Parameters:
String.format("Default parkour checkpoint model '%s' not found"
"Objective_Location_Marker" "Objective_Location_Marker"

updateLastIndex

public void updateLastIndex (final int index)

Method updateLastIndex.

Parameters:
final int index

resetPlayer

public void resetPlayer (final UUID playerUuid)

Method resetPlayer.

Parameters:
final UUID playerUuid