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

Method hashCode

src/main/java/org/bukkit/potion/Potion.java:181–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 }
180
181 @Override
182 public int hashCode() {
183 final int prime = 31;
184 int result = prime + level;
185 result = prime * result + (extended ? 1231 : 1237);
186 result = prime * result + (splash ? 1231 : 1237);
187 result = prime * result + ((type == null) ? 0 : type.hashCode());
188 return result;
189 }
190
191 /**
192 * Returns whether this potion is a splash potion.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected