| 567 | } |
| 568 | |
| 569 | @Override |
| 570 | public int hashCode() { |
| 571 | int hash = 3; |
| 572 | |
| 573 | World world = (this.world == null) ? null : this.world.get(); |
| 574 | hash = 19 * hash + (world != null ? world.hashCode() : 0); |
| 575 | hash = 19 * hash + (int) (Double.doubleToLongBits(this.x) ^ (Double.doubleToLongBits(this.x) >>> 32)); |
| 576 | hash = 19 * hash + (int) (Double.doubleToLongBits(this.y) ^ (Double.doubleToLongBits(this.y) >>> 32)); |
| 577 | hash = 19 * hash + (int) (Double.doubleToLongBits(this.z) ^ (Double.doubleToLongBits(this.z) >>> 32)); |
| 578 | hash = 19 * hash + Float.floatToIntBits(this.pitch); |
| 579 | hash = 19 * hash + Float.floatToIntBits(this.yaw); |
| 580 | return hash; |
| 581 | } |
| 582 | |
| 583 | @Override |
| 584 | public String toString() { |