Interface Sprayed.SprayTarget

All Known Implementing Classes:
Sprayed.BlockTarget, Sprayed.EntityTarget
Enclosing interface:
Sprayed

public static interface Sprayed.SprayTarget
Describes the target of a spray invocation.
Since:
2.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the distance of this target from the spray source.
  • Method Details

    • distance

      double distance(Sprayed.Source source)
      Returns the distance of this target from the spray source.
      Parameters:
      source - The spray source.
      Returns:
      The distance.
      Since:
      2.0.0