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

Method getTeam

src/main/java/net/minecraft/entity/EntityLiving.java:1382–1393  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1380 }
1381
1382 public Team getTeam()
1383 {
1384 UUID uuid = this.getUniqueID();
1385
1386 if (this.teamUuid != uuid)
1387 {
1388 this.teamUuid = uuid;
1389 this.teamUuidString = uuid.toString();
1390 }
1391
1392 return this.worldObj.getScoreboard().getPlayersTeam(this.teamUuidString);
1393 }
1394
1395 public static enum SpawnPlacementType
1396 {

Callers

nothing calls this directly

Calls 4

getPlayersTeamMethod · 0.80
getUniqueIDMethod · 0.45
toStringMethod · 0.45
getScoreboardMethod · 0.45

Tested by

no test coverage detected