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(com.github.steveice10.mc.auth.data.GameProfile profile,
long geyserId) |
static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry |
buildDefaultEntry(com.github.steveice10.mc.auth.data.GameProfile profile,
long geyserId) |
static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry |
buildEntryManually(UUID uuid,
String username,
long geyserId,
String skinId,
byte[] skinData,
String capeId,
byte[] capeData,
String geometryName,
String geometryData) |
static void |
requestAndHandleSkinAndCape(PlayerEntity entity,
GeyserSession session,
Consumer<SkinProvider.SkinAndCape> skinAndCapeConsumer) |
public static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry buildCachedEntry(com.github.steveice10.mc.auth.data.GameProfile profile,
long geyserId)
public static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry buildDefaultEntry(com.github.steveice10.mc.auth.data.GameProfile profile,
long geyserId)
public static com.nukkitx.protocol.bedrock.packet.PlayerListPacket.Entry buildEntryManually(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)
Copyright © 2020 GeyserMC. All rights reserved.