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

Method hashCode

src/main/java/net/minecraftforge/fluids/FluidStack.java:330–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

328 }
329
330 @Override
331 public final int hashCode()
332 {
333 int code = 1;
334 code = 31*code + getFluid().hashCode();
335 code = 31*code + amount;
336 if (tag != null)
337 code = 31*code + tag.hashCode();
338 return code;
339 }
340
341 /**
342 * Default equality comparison for a FluidStack. Same functionality as isFluidEqual().

Callers

nothing calls this directly

Calls 1

getFluidMethod · 0.95

Tested by

no test coverage detected