(double blockReachDistance, float partialTicks)
| 1557 | } |
| 1558 | |
| 1559 | public MovingObjectPosition rayTrace(double blockReachDistance, float partialTicks) |
| 1560 | { |
| 1561 | Vec3 vec3 = this.getPositionEyes(partialTicks); |
| 1562 | Vec3 vec31 = this.getLook(partialTicks); |
| 1563 | Vec3 vec32 = vec3.addVector(vec31.xCoord * blockReachDistance, vec31.yCoord * blockReachDistance, vec31.zCoord * blockReachDistance); |
| 1564 | return this.worldObj.rayTraceBlocks(vec3, vec32, false, false, true); |
| 1565 | } |
| 1566 | |
| 1567 | /** |
| 1568 | * Returns true if other Entities should be prevented from moving through this Entity. |
no test coverage detected