Class Checkpoint
java.lang.Object
me.block2block.hubparkour.api.plates.PressurePlate
me.block2block.hubparkour.api.plates.Checkpoint
Pressure plate to symbolize the parkour checkpoints.
-
Field Summary
Fields inherited from class me.block2block.hubparkour.api.plates.PressurePlate
location, material, parkour, rewards -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetType()The type of pressure plate.voidsetCheckpointNo(int checkpointNo) Methods inherited from class me.block2block.hubparkour.api.plates.PressurePlate
getLocation, getMaterial, getParkour, getRewards, placeMaterial, removeMaterial, setParkour, setRewards
-
Constructor Details
-
Checkpoint
-
-
Method Details
-
getType
public int getType()Description copied from class:PressurePlateThe 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:
getTypein classPressurePlate- Returns:
- the pressure plate type
-
getCheckpointNo
public int getCheckpointNo() -
setCheckpointNo
public void setCheckpointNo(int checkpointNo)
-