mirror of
https://github.com/xSquishyLiam/mc-GeyserModelEnginePackGenerator-extension.git
synced 2025-12-19 14:59:16 +00:00
ignore some textures
This commit is contained in:
@@ -93,6 +93,9 @@ public class Entity {
|
||||
}
|
||||
|
||||
for (String name : textureMap.keySet()) {
|
||||
if (name.endsWith("_e")) {
|
||||
continue;
|
||||
}
|
||||
if (modelConfig.getPerTextureUvSize().containsKey(name)) {
|
||||
Integer[] size = modelConfig.getPerTextureUvSize().getOrDefault(name, new Integer[]{16, 16});
|
||||
String suffix = size[0] + "_" + size[1];
|
||||
|
||||
@@ -31,7 +31,9 @@ public class RenderController {
|
||||
Set<Bone> processedBones = new HashSet<>();
|
||||
boolean singleTexture = entity.textureMap.size() == 1 && entity.modelConfig.getPerTextureUvSize().isEmpty();
|
||||
for (String key : entity.textureMap.keySet()) {
|
||||
|
||||
if (key.endsWith("_e")) {
|
||||
continue;
|
||||
}
|
||||
// Texture texture = entity.textureMap.get(key);
|
||||
Set<String> uvBonesId = entity.getModelConfig().bingingBones.get(key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user