Package me.axieum.mcmod.authme.mixin
Interface MinecraftAccessor
public interface MinecraftAccessor
Provides the means to access protected members of the Minecraft client.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetPlayerSocialManager(net.minecraft.client.gui.screens.social.PlayerSocialManager playerSocialManager) Sets the Minecraft social interactions manager.voidsetProfileFuture(CompletableFuture<com.mojang.authlib.yggdrasil.ProfileResult> future) Sets the game profile.voidsetProfileKeyPairManager(net.minecraft.client.multiplayer.ProfileKeyPairManager profileKeyPairManager) Sets the Minecraft profile keys.voidsetRealmsDataFetcher(com.mojang.realmsclient.gui.RealmsDataFetcher realmsDataFetcher) Sets the Minecraft Realms periodic checkers.voidsetReportingContext(net.minecraft.client.multiplayer.chat.report.ReportingContext reportContext) Sets the Minecraft abuse report context.voidsetUser(net.minecraft.client.User user) Sets the Minecraft session.voidsetUserApiService(com.mojang.authlib.minecraft.UserApiService userApiService) Sets the Minecraft user API service.
-
Method Details
-
setUser
void setUser(net.minecraft.client.User user) Sets the Minecraft session.- Parameters:
user- new Minecraft session
-
setProfileFuture
Sets the game profile.- Parameters:
future- the future of the new game profile
-
setUserApiService
void setUserApiService(com.mojang.authlib.minecraft.UserApiService userApiService) Sets the Minecraft user API service.- Parameters:
userApiService- new Minecraft user API service
-
setPlayerSocialManager
void setPlayerSocialManager(net.minecraft.client.gui.screens.social.PlayerSocialManager playerSocialManager) Sets the Minecraft social interactions manager.- Parameters:
playerSocialManager- new Minecraft social interactions manager
-
setProfileKeyPairManager
void setProfileKeyPairManager(net.minecraft.client.multiplayer.ProfileKeyPairManager profileKeyPairManager) Sets the Minecraft profile keys.- Parameters:
profileKeyPairManager- new Minecraft profile keys
-
setReportingContext
void setReportingContext(net.minecraft.client.multiplayer.chat.report.ReportingContext reportContext) Sets the Minecraft abuse report context.- Parameters:
reportContext- new Minecraft abuse report context
-
setRealmsDataFetcher
void setRealmsDataFetcher(com.mojang.realmsclient.gui.RealmsDataFetcher realmsDataFetcher) Sets the Minecraft Realms periodic checkers.- Parameters:
realmsDataFetcher- new Minecraft Realms periodic checkers
-