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

Method getId

src/main/java/net/optifine/RandomEntity.java:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 private Entity entity;
12
13 public int getId()
14 {
15 UUID uuid = this.entity.getUniqueID();
16 long i = uuid.getLeastSignificantBits();
17 int j = (int)(i & 2147483647L);
18 return j;
19 }
20
21 public BlockPos getSpawnPosition()
22 {

Callers

nothing calls this directly

Calls 1

getUniqueIDMethod · 0.45

Tested by

no test coverage detected