public class SkinManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkinManager.GameProfileData |
| Constructor and Description |
|---|
SkinManager() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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.
|
static void |
handleBedrockSkin(PlayerEntity playerEntity,
BedrockClientData clientData) |
static void |
requestAndHandleSkinAndCape(PlayerEntity entity,
GeyserSession session,
Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer) |
public static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry buildCachedEntry(GeyserSession session, PlayerEntity playerEntity)
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)
public static void requestAndHandleSkinAndCape(PlayerEntity entity, GeyserSession session, Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer)
public static void handleBedrockSkin(PlayerEntity playerEntity, BedrockClientData clientData)
Copyright © 2021 GeyserMC. All rights reserved.