CSL + Fabric Cape = 主界面加载死循环
Wudji opened this issue · 4 comments
Fabric Cape:https://www.curseforge.com/minecraft/mc-mods/capes
日志:latest.log
看了一下,是因为 Fabric Capes 和 CustomSkinLoader 都 Mixin 了相同的地方:
@Redirect(method = "render", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/RenderLayer;getEntitySolid(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;"))
private RenderLayer fixCapeTransparency(Identifier texture) {
return RenderLayer.getArmorCutoutNoCull(texture);
}
大致看了一下 Fabric Capes 的功能,除了 Wynntils 其他感觉都可以通过修改 CustomSkinLoader 的配置文件实现:
{
"loadlist": [
{
"name": "OptiFine",
"type": "Legacy",
"checkPNG": true,
"cape": "http://s.optifine.net/capes/{USERNAME}.png"
},
{
"name": "LabyMod",
"type": "Legacy",
"checkPNG": true,
"cape": "https://dl.labymod.net/capes/{UUID}"
}
]
}