MCPcopy Create free account
hub / github.com/Teneted/Tenet / hashCode

Method hashCode

src/main/java/org/bukkit/util/BlockVector.java:97–100  ·  view source on GitHub ↗

Returns a hash code for this vector. @return hash code

()

Source from the content-addressed store, hash-verified

95 * @return hash code
96 */
97 @Override
98 public int hashCode() {
99 return (Integer.valueOf((int) x).hashCode() >> 13) ^ (Integer.valueOf((int) y).hashCode() >> 7) ^ Integer.valueOf((int) z).hashCode();
100 }
101
102 /**
103 * Get a new block vector.

Callers

nothing calls this directly

Calls 1

valueOfMethod · 0.45

Tested by

no test coverage detected