Class DetectionManager

java.lang.Object
io.github.apfelcreme.Pipes.Manager.DetectionManager

public class DetectionManager extends Object
  • Method Details

    • createDetection

      public void createDetection(org.bukkit.command.CommandSender sender)
      adds a new detection
      Parameters:
      sender - the sender of the command
    • getDetection

      public Detection getDetection(org.bukkit.command.CommandSender sender)
      returns a senders latest detection
      Parameters:
      sender - a sender
      Returns:
      his latest detection
    • getDetections

      public Map<org.bukkit.command.CommandSender,Detection> getDetections()
      returns a list of all detections
      Returns:
      a list of all detections
    • getInstance

      public static DetectionManager getInstance()
      returns the DetectionManager instance
      Returns:
      the DetectionManager instance