Class RayTraceResult

java.lang.Object
org.bukkit.util.RayTraceResult

public class RayTraceResult
extends Object
The hit result of a ray trace.

Only the hit position is guaranteed to always be available. The availability of the other attributes depends on what got hit and on the context in which the ray trace was performed.