PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\utils\BlockIterator Class Reference
+ Inheritance diagram for pocketmine\utils\BlockIterator:
+ Collaboration diagram for pocketmine\utils\BlockIterator:

Public Member Functions

 __construct (Level $level, Vector3 $start, Vector3 $direction, $yOffset=0, $maxDistance=0)
 
 next ()
 
 current ()
 
 rewind ()
 
 key ()
 
 valid ()
 

Detailed Description

This class performs ray tracing and iterates along blocks on a line

Definition at line 31 of file BlockIterator.php.

Member Function Documentation

pocketmine\utils\BlockIterator::current ( )
Returns
Block
Exceptions
\OutOfBoundsException

Definition at line 234 of file BlockIterator.php.


The documentation for this class was generated from the following file: