Filter how much of the model registry Eternal Starlight sees
Otherwise it loads every model, AND stores it in a map, defeating the point of dynamic resources Related: https://github.com/LeoMinecraftModding/eternal-starlight/pull/82
This commit is contained in:
parent
18dac0d949
commit
048e7f7e07
|
|
@ -55,6 +55,7 @@ public class ModelBakeEventHelper {
|
|||
EVERYTHING
|
||||
}
|
||||
private static final Map<String, UniverseVisibility> MOD_VISIBILITY_CONFIGURATION = ImmutableMap.<String, UniverseVisibility>builder()
|
||||
.put("eternal_starlight", UniverseVisibility.SELF_AND_DEPS) // needed as a mitigation until https://github.com/LeoMinecraftModding/eternal-starlight/pull/82 is merged
|
||||
.build();
|
||||
private final Map<ModelResourceLocation, BakedModel> modelRegistry;
|
||||
private final Set<ModelResourceLocation> topLevelModelLocations;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user