Interface IRegion.IVectorStrategy

All Known Implementing Classes:
IRegion.DefaultVectorStrategy
Enclosing interface:
IRegion

public static interface IRegion.IVectorStrategy
Represents a vector strategy. This is used to check if the vector is within the region. Implement this interface to create your own strategy.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    within(org.bukkit.util.Vector vector, org.bukkit.util.Vector min, org.bukkit.util.Vector max)
    Check if the given vector is within the region.
  • Method Details

    • within

      boolean within(org.bukkit.util.Vector vector, org.bukkit.util.Vector min, org.bukkit.util.Vector max)
      Check if the given vector is within the region.
      Parameters:
      vector - The vector to check.
      min - The minimum vector.
      max - The maximum vector.
      Returns:
      True if the vector is within the region.