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

Method getProfile

src/main/java/net/minecraft/util/Session.java:44–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 public GameProfile getProfile()
45 {
46 try
47 {
48 UUID uuid = UUIDTypeAdapter.fromString(this.getPlayerID());
49 return new GameProfile(uuid, this.getUsername());
50 }
51 catch (IllegalArgumentException var2)
52 {
53 return new GameProfile(null, this.getUsername());
54 }
55 }
56
57 /**
58 * Returns either 'legacy' or 'mojang' whether the account is migrated or not

Callers 10

func_181037_MMethod · 0.45
runMethod · 0.45
handlePlayerListItemMethod · 0.45
handleLoginSuccessMethod · 0.45
NetworkPlayerInfoMethod · 0.45
runMethod · 0.45
processLoginStartMethod · 0.45
createSessionMethod · 0.45

Calls 2

getPlayerIDMethod · 0.95
getUsernameMethod · 0.95

Tested by

no test coverage detected