Class PresenceHandler
java.lang.Object
net.minecraft.client.gui.screens.social.PresenceHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPresenceHandler(Minecraft minecraft, com.mojang.authlib.yggdrasil.FriendsService friendsService) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.authlib.yggdrasil.response.PresenceResponseprivate com.mojang.authlib.yggdrasil.response.PresenceStatusprivate com.mojang.authlib.yggdrasil.response.PresenceStatusprivate booleanvoidtick()voidprivate void
-
Field Details
-
PRESENCE_UPDATE_INTERVAL
-
MAX_PRESENCE_INTERVAL_MULTIPLIER
private static final long MAX_PRESENCE_INTERVAL_MULTIPLIER- See Also:
-
minecraft
-
friendsService
private final com.mojang.authlib.yggdrasil.FriendsService friendsService -
latestPresence
private com.mojang.authlib.yggdrasil.response.PresenceResponse latestPresence -
lastPresencePost
-
updatePresence
private boolean updatePresence
-
-
Constructor Details
-
PresenceHandler
public PresenceHandler(Minecraft minecraft, com.mojang.authlib.yggdrasil.FriendsService friendsService)
-
-
Method Details
-
updatePresence
private void updatePresence() -
shouldRefreshPresence
private boolean shouldRefreshPresence() -
tick
public void tick() -
tryUpdatePresence
public void tryUpdatePresence() -
getLatestPresence
public com.mojang.authlib.yggdrasil.response.PresenceResponse getLatestPresence() -
getPublicPresenceStatus
private com.mojang.authlib.yggdrasil.response.PresenceStatus getPublicPresenceStatus() -
getPresenceStatus
private com.mojang.authlib.yggdrasil.response.PresenceStatus getPresenceStatus()
-