public class BlockRayResult extends AbstractRayResult<BlockRay>
ray, rayResult| Modifier | Constructor and Description | 
|---|---|
protected  | 
BlockRayResult(BlockRay ray,
              RayResult rayResult,
              Block block,
              boolean hasBlockExceptSearched)  | 
| Modifier and Type | Method and Description | 
|---|---|
@Nullable Block | 
getBlock()
Get final block which crate the end of ray 
 | 
@Nullable Material | 
getType()
Get block type of final block 
 | 
boolean | 
hasBlockExceptSearched()
Know if there is block between location and block which is different than searched
 (Don't count AIR)
 Cannot be true if there isn't searched type 
 | 
String | 
toString()  | 
getAllTestedLoc, getLastDistance, getRay, getRayResult, getVectorpublic @Nullable Block getBlock()
public @Nullable Material getType()
public boolean hasBlockExceptSearched()
public String toString()
toString in class AbstractRayResult<BlockRay>