JSON cache

This commit is contained in:
paulevsGitch 2021-07-31 14:58:01 +03:00
parent 3a5a264436
commit 90c8362c95
2 changed files with 8 additions and 3 deletions

View file

@ -72,7 +72,7 @@ public abstract class ModelBakeryMixin {
});
}
else {
states.stream().parallel().forEach(blockState -> {
states.forEach(blockState -> {
ResourceLocation stateID = BlockModelShaper.stateToModelLocation(blockID, blockState);
UnbakedModel model = provider.getModelVariant(stateID, blockState, cache);
cache.put(stateID, model);