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