Class SkinManager

java.lang.Object
org.geysermc.geyser.skin.SkinManager
Direct Known Subclasses:
SkullSkinManager

public class SkinManager extends Object
  • 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.GameProfile.Texture getTextureDataFromProfile(org.geysermc.mcprotocollib.auth.GameProfile profile, org.geysermc.mcprotocollib.auth.GameProfile.TextureType type)
    • requestAndHandleSkinAndCape

      public static void requestAndHandleSkinAndCape(AvatarEntity entity, GeyserSession session, Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer)
    • handleBedrockSkin

      public static void handleBedrockSkin(AvatarEntity playerEntity, BedrockClientData clientData)
    • createOfflinePlayerUUID

      public static UUID createOfflinePlayerUUID(String username)