mirror of
https://github.com/GeyserExtensionists/GeyserModelEnginePackGenerator.git
synced 2025-12-19 15:09:18 +00:00
fix texture
This commit is contained in:
@@ -32,6 +32,15 @@ public class RenderController {
|
|||||||
|
|
||||||
// Texture texture = entity.textureMap.get(key);
|
// Texture texture = entity.textureMap.get(key);
|
||||||
Set<String> uvBonesId = entity.getModelConfig().bingingBones.get(key);
|
Set<String> uvBonesId = entity.getModelConfig().bingingBones.get(key);
|
||||||
|
|
||||||
|
if (uvBonesId == null) {
|
||||||
|
if (!singleTexture) {
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
uvBonesId = new HashSet<>();
|
||||||
|
uvBonesId.add("*");
|
||||||
|
}
|
||||||
|
}
|
||||||
ModelConfig.AnimTextureOptions anim = entity.getModelConfig().getAnimTextures().get(key);
|
ModelConfig.AnimTextureOptions anim = entity.getModelConfig().getAnimTextures().get(key);
|
||||||
|
|
||||||
JsonObject controller = new JsonObject();
|
JsonObject controller = new JsonObject();
|
||||||
|
|||||||
Reference in New Issue
Block a user