Log when model universe is restricted

This commit is contained in:
embeddedt 2025-05-14 22:19:10 -04:00
parent 900e5786b6
commit 8b0622ff5c
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -154,6 +154,7 @@ public class ModelBakeEventHelper {
modIdsToInclude.remove("minecraft");
Set<ResourceLocation> ourModelLocations;
if (config == UniverseVisibility.SELF_AND_DEPS) {
ModernFix.LOGGER.debug("Mod {} is restricted to seeing models from mods: [{}]", modId, String.join(", ", modIdsToInclude));
ourModelLocations = Sets.filter(this.topLevelModelLocations, loc -> modIdsToInclude.contains(loc.getNamespace()));
} else {
ourModelLocations = this.topLevelModelLocations;