Package ch.njol.skript.util
Class BlockLineIterator
java.lang.Object
ch.njol.util.coll.iterator.StoppableIterator<org.bukkit.block.Block>
ch.njol.skript.util.BlockLineIterator
- All Implemented Interfaces:
Iterator<org.bukkit.block.Block>
-
Constructor Summary
ConstructorDescriptionBlockLineIterator(org.bukkit.block.Block start, org.bukkit.block.Block end)
BlockLineIterator(org.bukkit.block.Block start, org.bukkit.util.Vector dir, double dist)
BlockLineIterator(org.bukkit.Location start, org.bukkit.util.Vector dir, double dist)
-
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
public BlockLineIterator(org.bukkit.block.Block start, org.bukkit.block.Block end) throws IllegalStateException- Parameters:
start
-end
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-
BlockLineIterator
public BlockLineIterator(org.bukkit.Location start, org.bukkit.util.Vector dir, double dist) throws IllegalStateException- Parameters:
start
-dir
-dist
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-
BlockLineIterator
public BlockLineIterator(org.bukkit.block.Block start, org.bukkit.util.Vector dir, double dist) throws IllegalStateException- Parameters:
start
-dir
-dist
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-