You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
这里我不会编译,但是我的思路如下:
在文件tax/cute/mcinfoplugin/MCSkin.java和同文件夹下的MCInfo.java中调用图片的方法是
Image image = group.uploadImage(ExternalResource.create(Http.getHttp("ApiUrl.MC_BODY_SKIN" + uuid).getBytes()));
和
Image image = group.uploadImage(ExternalResource.create(Http.getHttp("ApiUrl.MC_HEAD_SKIN" + uuid).getBytes()));
其中在ApiUrl中使用的网站是https://crafatar.com/renders/body/和https://crafatar.com/renders/head/其实这个网站支持双层皮肤渲染的,调用方法是https://crafatar.com/renders/body/某uuid?overlay=true就可以了
按照程序逻辑我们只需要修改:在文件tax/cute/mcinfoplugin/
MCSkin.java:("ApiUrl.MC_BODY_SKIN" + uuid)改为(ApiUrl.MC_BODY_SKIN + uuid + "?overlay=true")
MCInfo.java:("ApiUrl.MC_HEAD_SKIN" + uuid)改为(ApiUrl.MC_HEAD_SKIN + uuid + "?overlay=true")
就可以了
由于我不会构建它,所以我只能提供我的思路了....
The text was updated successfully, but these errors were encountered: