950 B
IScriptRayTrace.isMissed
isMissed()
boolean Check whether this ray trace result didn't capture anything.
Method Detail getMinecraftRayTraceResult
RayTraceResult getMinecraftRayTraceResult()
Get Minecraft ray trace result. BEWARE: you need to know the MCP mappings in order to directly call methods on this instance!
isMissed
boolean isMissed()
Check whether this ray trace result didn't capture anything.
isBlock
boolean isBlock()
Check whether this ray trace result hit a block.
isEntity
boolean isEntity()
Check whether this ray trace result hit an entity.
getEntity
IScriptEntity getEntity()
Get entity that was captured by this ray trace result (it can be null).
getBlock
ScriptVector getBlock()
Get block position it hit.
getHitPosition
ScriptVector getHitPosition()
Get precise position where it hit.