Class BedrockAppearanceStore
java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockAppearanceStore
Stores the selected classic appearance separately for each Bedrock account.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringaccountId(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) booleanhasCustomSkin(String accountId) importCape(String accountId, Path source) importSkin(String accountId, Path source) removeCape(String accountId) select(String accountId, BedrockAppearanceStore.Selection selection)
-
Constructor Details
-
BedrockAppearanceStore
-
-
Method Details
-
accountId
-
load
- Throws:
IOException
-
hasCustomSkin
-
select
public BedrockAppearanceStore.Appearance select(String accountId, BedrockAppearanceStore.Selection selection) throws IOException - Throws:
IOException
-
setSlim
- Throws:
IOException
-
importSkin
public BedrockAppearanceStore.Appearance importSkin(String accountId, Path source) throws IOException - Throws:
IOException
-
importCape
public BedrockAppearanceStore.Appearance importCape(String accountId, Path source) throws IOException - Throws:
IOException
-
removeCape
- Throws:
IOException
-