Package org.geysermc.geyser.skin
Class SkinManager
java.lang.Object
org.geysermc.geyser.skin.SkinManager
- Direct Known Subclasses:
SkullSkinManager
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.cloudburstmc.protocol.bedrock.packet.PlayerListPacket.EntrybuildEntryFromCachedSkin(GeyserSession session, AvatarEntity playerEntity) Builds a Bedrock player list entry from our existing, cached Bedrock skin informationstatic UUIDcreateOfflinePlayerUUID(String username) static @Nullable org.geysermc.mcprotocollib.auth.texture.TexturegetTextureDataFromProfile(org.geysermc.mcprotocollib.auth.GameProfile profile, org.geysermc.mcprotocollib.auth.texture.TextureType type) static voidhandleBedrockSkin(AvatarEntity playerEntity, BedrockClientData clientData) static voidrequestAndHandleSkinAndCape(AvatarEntity entity, GeyserSession session, Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer) static CompletableFuture<org.geysermc.mcprotocollib.auth.GameProfile> resolveProfile(org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile profile) static voidsendSkinPacket(GeyserSession session, AvatarEntity entity, org.geysermc.geyser.api.skin.SkinData skinData)
-
Constructor Details
-
SkinManager
public SkinManager()
-
-
Method Details
-
buildEntryFromCachedSkin
public static org.cloudburstmc.protocol.bedrock.packet.PlayerListPacket.Entry buildEntryFromCachedSkin(GeyserSession session, AvatarEntity playerEntity) Builds a Bedrock player list entry from our existing, cached Bedrock skin information -
sendSkinPacket
public static void sendSkinPacket(GeyserSession session, AvatarEntity entity, org.geysermc.geyser.api.skin.SkinData skinData) -
resolveProfile
public static CompletableFuture<org.geysermc.mcprotocollib.auth.GameProfile> resolveProfile(org.geysermc.mcprotocollib.protocol.data.game.entity.player.ResolvableProfile profile) -
getTextureDataFromProfile
public static @Nullable org.geysermc.mcprotocollib.auth.texture.Texture getTextureDataFromProfile(org.geysermc.mcprotocollib.auth.GameProfile profile, org.geysermc.mcprotocollib.auth.texture.TextureType type) -
requestAndHandleSkinAndCape
public static void requestAndHandleSkinAndCape(AvatarEntity entity, GeyserSession session, Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer) -
handleBedrockSkin
-
createOfflinePlayerUUID
-