Package ch.njol.skript.util
Class BlockLineIterator
-
Constructor Summary
ConstructorDescriptionBlockLineIterator
(Block start, Block end) BlockLineIterator
(Block start, Vector direction, double distance) BlockLineIterator
(Location start, Vector direction, double distance) -
Method Summary
Methods inherited from class ch.njol.util.coll.iterator.StoppableIterator
hasNext, next, remove, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
BlockLineIterator
- Parameters:
start
-end
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-
BlockLineIterator
public BlockLineIterator(Location start, Vector direction, double distance) throws IllegalStateException - Parameters:
start
-direction
-distance
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-
BlockLineIterator
public BlockLineIterator(Block start, Vector direction, double distance) throws IllegalStateException - Parameters:
start
-direction
-distance
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-