MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / equals

Method equals

src/main/java/net/minecraft/pathfinding/PathPoint.java:72–83  ·  view source on GitHub ↗
(Object p_equals_1_)

Source from the content-addressed store, hash-verified

70 }
71
72 public boolean equals(Object p_equals_1_)
73 {
74 if (!(p_equals_1_ instanceof PathPoint))
75 {
76 return false;
77 }
78 else
79 {
80 PathPoint pathpoint = (PathPoint)p_equals_1_;
81 return this.hash == pathpoint.hash && this.xCoord == pathpoint.xCoord && this.yCoord == pathpoint.yCoord && this.zCoord == pathpoint.zCoord;
82 }
83 }
84
85 public int hashCode()
86 {

Callers 2

addToPathMethod · 0.95
startSectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected