Interface VectorIterator

All Superinterfaces:
Iterator<org.bukkit.util.Vector>
All Known Implementing Classes:
AbstractVectorIterator, BaseVectorIterator, LinearVectorIterator, RandomTypeVectorIterator, RandomVectorIterator

public interface VectorIterator extends Iterator<org.bukkit.util.Vector>
The Iterator for Vector
  • Method Summary

    Modifier and Type
    Method
    Description
    default org.bukkit.Location
    nextLocation(org.bukkit.World world)
    Get the next Location
    void
    Reset the iterator

    Methods inherited from interface java.util.Iterator

    forEachRemaining, hasNext, next, remove
  • Method Details

    • reset

      void reset()
      Reset the iterator
    • nextLocation

      default org.bukkit.Location nextLocation(org.bukkit.World world)
      Get the next Location
      Parameters:
      world - the world
      Returns:
      the next location