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

Method intHash

src/main/java/net/minecraft/src/Config.java:1392–1399  ·  view source on GitHub ↗
(int p_intHash_0_)

Source from the content-addressed store, hash-verified

1390 }
1391
1392 public static int intHash(int p_intHash_0_) {
1393 p_intHash_0_ = p_intHash_0_ ^ 61 ^ p_intHash_0_ >> 16;
1394 p_intHash_0_ = p_intHash_0_ + (p_intHash_0_ << 3);
1395 p_intHash_0_ = p_intHash_0_ ^ p_intHash_0_ >> 4;
1396 p_intHash_0_ = p_intHash_0_ * 668265261;
1397 p_intHash_0_ = p_intHash_0_ ^ p_intHash_0_ >> 15;
1398 return p_intHash_0_;
1399 }
1400
1401 public static int getRandom(BlockPos p_getRandom_0_, int p_getRandom_1_) {
1402 int i = intHash(p_getRandom_1_ + 37);

Callers 3

getColorGridMethod · 0.95
getRandomMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected