Skip to content

Commit

Permalink
Fix armor pattern datagen suite
Browse files Browse the repository at this point in the history
dhyces committed Nov 13, 2024
1 parent 27312d0 commit f29a806
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -123,8 +123,8 @@ public BaseTrimDatagenSuite makePattern(ResourceKey<TrimPattern> patternKey, Ite
config.altTranslations.forEach(altTranslation -> altTranslation.finish(translationKey));

if (config.mainTexture == null) {
patternTextures.add(ResourceLocation.fromNamespaceAndPath(patternKey.location().getNamespace(), "trims/models/armor/" + patternKey.location().getPath()));
patternTextures.add(ResourceLocation.fromNamespaceAndPath(patternKey.location().getNamespace(), "trims/models/armor/" + patternKey.location().getPath() + "_leggings"));
patternTextures.add(ResourceLocation.fromNamespaceAndPath(patternKey.location().getNamespace(), "trims/entity/humanoid/" + patternKey.location().getPath()));
patternTextures.add(ResourceLocation.fromNamespaceAndPath(patternKey.location().getNamespace(), "trims/entity/humanoid_leggings/" + patternKey.location().getPath()));
} else {
patternTextures.add(config.mainTexture);
patternTextures.add(config.leggingsTexture);

0 comments on commit f29a806

Please sign in to comment.