Class Checkpoint

java.lang.Object
me.block2block.hubparkour.api.plates.PressurePlate
me.block2block.hubparkour.api.plates.Checkpoint

public class Checkpoint extends PressurePlate
Pressure plate to symbolize the parkour checkpoints.
  • Constructor Details

    • Checkpoint

      public Checkpoint(Location location, int checkpointNo, List<String> rewards)
  • Method Details

    • getType

      public int getType()
      Description copied from class: PressurePlate
      The type of pressure plate. This is just an arbitrary value.

      Default ID's: 0 - Start Point 1 - End Point 2 - Restart Point 3 - Checkpoint 4 - Border Point 5 - Exit Point

      Specified by:
      getType in class PressurePlate
      Returns:
      the pressure plate type
    • getCheckpointNo

      public int getCheckpointNo()
    • setCheckpointNo

      public void setCheckpointNo(int checkpointNo)