Class DetectionManager
java.lang.Object
io.github.apfelcreme.Pipes.Manager.DetectionManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createDetection
(org.bukkit.command.CommandSender sender) adds a new detectiongetDetection
(org.bukkit.command.CommandSender sender) returns a senders latest detectionreturns a list of all detectionsstatic DetectionManager
returns the DetectionManager instance
-
Method Details
-
createDetection
public void createDetection(org.bukkit.command.CommandSender sender) adds a new detection- Parameters:
sender
- the sender of the command
-
getDetection
returns a senders latest detection- Parameters:
sender
- a sender- Returns:
- his latest detection
-
getDetections
returns a list of all detections- Returns:
- a list of all detections
-
getInstance
returns the DetectionManager instance- Returns:
- the DetectionManager instance
-