feat: 添加 SkinBridge 皮肤兼容

This commit is contained in:
2026-07-21 23:45:19 +08:00
parent 5d86f0e3eb
commit d6c8db6019
16 changed files with 979 additions and 6 deletions
@@ -0,0 +1,18 @@
package cn.infstar.essentialsC.skinbridge;
import org.bukkit.entity.Player;
interface SkinBridgeGateway {
GeneratedSkin generateSkin(String skinUrl, SkinModel model) throws Exception;
void applySkin(Player player, GeneratedSkin skin) throws Exception;
}
enum SkinModel {
CLASSIC,
SLIM
}
record GeneratedSkin(String value, String signature) {
}