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 direction, double distance) BlockLineIterator
(org.bukkit.Location start, org.bukkit.util.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
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 direction, double distance) throws IllegalStateException - Parameters:
start
-direction
-distance
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-
BlockLineIterator
public BlockLineIterator(org.bukkit.block.Block start, org.bukkit.util.Vector direction, double distance) throws IllegalStateException - Parameters:
start
-direction
-distance
-- Throws:
IllegalStateException
- randomly (Bukkit bug)
-