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>

public class BlockLineIterator extends StoppableIterator<org.bukkit.block.Block>
  • 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)