public class SkinUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SkinUtils.GameProfileData |
| Constructor and Description |
|---|
SkinUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry |
buildCachedEntry(GeyserSession session,
com.github.steveice10.mc.auth.data.GameProfile profile,
long geyserId) |
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,
String geometryName,
String geometryData) |
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, com.github.steveice10.mc.auth.data.GameProfile profile, long geyserId)
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, String geometryName, String geometryData)
public static void requestAndHandleSkinAndCape(PlayerEntity entity, GeyserSession session, Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer)
public static void handleBedrockSkin(PlayerEntity playerEntity, BedrockClientData clientData)
Copyright © 2020 GeyserMC. All rights reserved.