Fix lambda shadow remapping issue

This commit is contained in:
embeddedt 2024-06-14 19:08:54 -04:00
parent f056fe4d0c
commit 2697a8f358
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -61,7 +61,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
/**
* Bake a model using the provided texture getter and location. The model is stored in {@link ModelBakeryMixin#bakedTopLevelModels}.
*/
@Shadow protected abstract void method_61072(ModelBakery.TextureGetter getter, ModelResourceLocation location, UnbakedModel model);
@Shadow(aliases = "lambda$bakeModels$6") protected abstract void method_61072(ModelBakery.TextureGetter getter, ModelResourceLocation location, UnbakedModel model);
@Shadow @Mutable @Final private Map<ModelResourceLocation, BakedModel> bakedTopLevelModels;
@Shadow @Mutable @Final public Map<ModelResourceLocation, UnbakedModel> topLevelModels;