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

    • buildCachedEntry

      public static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry buildCachedEntry(GeyserSession session, PlayerEntity playerEntity)
      Builds a Bedrock player list entry from our existing, cached Bedrock skin information
    • buildEntryManually

      public static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry buildEntryManually(GeyserSession session, UUID uuid, String username, long geyserId, String skinId, byte[] skinData, String capeId, byte[] capeData, SkinProvider.SkinGeometry geometry)
      With all the information needed, build a Bedrock player entry with translated skin information.
    • requestAndHandleSkinAndCape

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

      public static void handleBedrockSkin(PlayerEntity playerEntity, BedrockClientData clientData)