Class BedrockCharacterProfiles
java.lang.Object
com.viaversion.viafabricplus.bedrock.appearance.BedrockCharacterProfiles
Reads the five Character Creator recipes saved to a Bedrock account.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic enumstatic enumstatic enumstatic interfacestatic final recordstatic final recordstatic final recordstatic enumstatic final record -
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanEditLimbSides(BedrockCharacterProfiles.AccountWardrobe wardrobe, BedrockCharacterProfiles.Slot slot, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem item) static booleancanResetLimb(BedrockCharacterProfiles.Slot slot, BedrockCharacterProfiles.Category category, List<BedrockCharacterProfiles.WardrobeItem> items, BedrockLimbSide side) changeArmSize(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, String armSize) changeCape(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, boolean remove) changeColor(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.ColorTarget target, String color, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) changeEmote(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, int wheelSlot, boolean remove) changeHeight(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.Height height) changeLimb(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, BedrockLimbSide side, boolean remove) changePiece(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, boolean remove) copyActiveToSlot(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash) createStarterCharacter(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.Starter starter) deleteSlot(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash) emoteIds(BedrockCharacterProfiles.AccountWardrobe wardrobe, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) emoteIds(BedrockCharacterProfiles.Slot slot, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) static booleanstatic booleanlimbEquipped(BedrockCharacterProfiles.Slot slot, BedrockCharacterProfiles.WardrobeItem item, BedrockLimbSide side) load(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) static CompletableFuture<String> loadActiveAvatar(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) loadActiveModel(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) loadColorTargets(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, BedrockCharacterProfiles.Slot slot, List<BedrockCharacterProfiles.ColorTarget> requested, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) loadItems(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, BedrockCharacterProfiles.Category category) resetLimb(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.Category category, List<BedrockCharacterProfiles.WardrobeItem> items, BedrockLimbSide side) selectClassic(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, BedrockOwnedSkinPacks.Item owned, BedrockClassicSkinPack pack, BedrockClassicSkinPack.Skin skin) selectSlot(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber)
-
Field Details
-
SKIN_COLORS
-
HAIR_COLORS
-
EYE_COLORS
-
SCLERA_COLORS
-
MOUTH_COLORS
-
-
Method Details
-
load
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> load(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
selectSlot
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> selectSlot(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber) -
changePiece
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changePiece(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, boolean remove) -
changeLimb
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changeLimb(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, BedrockLimbSide side, boolean remove) -
canEditLimbSides
public static boolean canEditLimbSides(BedrockCharacterProfiles.AccountWardrobe wardrobe, BedrockCharacterProfiles.Slot slot, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem item) -
limbEquipped
public static boolean limbEquipped(BedrockCharacterProfiles.Slot slot, BedrockCharacterProfiles.WardrobeItem item, BedrockLimbSide side) -
canResetLimb
public static boolean canResetLimb(BedrockCharacterProfiles.Slot slot, BedrockCharacterProfiles.Category category, List<BedrockCharacterProfiles.WardrobeItem> items, BedrockLimbSide side) -
resetLimb
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> resetLimb(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.Category category, List<BedrockCharacterProfiles.WardrobeItem> items, BedrockLimbSide side) -
changeEmote
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changeEmote(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, int wheelSlot, boolean remove) -
changeCape
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changeCape(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, List<BedrockCharacterProfiles.WardrobeItem> categoryItems, BedrockCharacterProfiles.WardrobeItem selectedItem, boolean remove) -
changeArmSize
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changeArmSize(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, String armSize) -
changeHeight
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changeHeight(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.Height height) -
changeColor
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> changeColor(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.ColorTarget target, String color, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) -
loadColorTargets
public static CompletableFuture<List<BedrockCharacterProfiles.ColorTarget>> loadColorTargets(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, BedrockCharacterProfiles.Slot slot, List<BedrockCharacterProfiles.ColorTarget> requested, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) -
copyActiveToSlot
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> copyActiveToSlot(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash) -
createStarterCharacter
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> createStarterCharacter(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash, BedrockCharacterProfiles.Starter starter) -
deleteSlot
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> deleteSlot(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, int slotNumber, String expectedProfileHash) -
selectClassic
public static CompletableFuture<BedrockCharacterProfiles.AccountWardrobe> selectClassic(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, BedrockOwnedSkinPacks.Item owned, BedrockClassicSkinPack pack, BedrockClassicSkinPack.Skin skin) -
height
-
emoteIds
public static List<String> emoteIds(BedrockCharacterProfiles.AccountWardrobe wardrobe, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) -
emoteIds
public static List<String> emoteIds(BedrockCharacterProfiles.Slot slot, List<BedrockCharacterProfiles.WardrobeItem> categoryItems) -
hasPresetPiece
-
loadItems
public static CompletableFuture<List<BedrockCharacterProfiles.WardrobeItem>> loadItems(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, BedrockCharacterProfiles.Category category) -
loadActiveAvatar
public static CompletableFuture<String> loadActiveAvatar(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
loadActiveModel
public static CompletableFuture<BedrockCharacterProfiles.PreparedCharacter> loadActiveModel(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account)
-