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 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)