Closed MSandro closed 2 years ago
tested with refabslab-0.7.0, same issue might be a mod compatibillity problem.
Hi, @MSandro !
The issue is with mods that use Cardinal-Components-API. When Refabricated slabs try to use API provided by cardinal components, the API is different, because of the cardinal component's API version. I will try to investigate this more.
Thanks for the update.
thank you very much.
Hi, @MSandro !
So the mods that cause the issue could be:
Because if you look at the API of Cardinal-Components Version 4.x.x has the following API: https://github.com/OnyxStudios/Cardinal-Components-API/blob/514c2c11f87bb7d3049e395190961820cde52fed/cardinal-components-base/src/main/java/dev/onyxstudios/cca/api/v3/component/ComponentProvider.java#L105
But if you look at version 5.x.x the API has been removed: https://github.com/OnyxStudios/Cardinal-Components-API/blob/1.19/cardinal-components-base/src/main/java/dev/onyxstudios/cca/api/v3/component/ComponentProvider.java
Basically, the problem is that:
This is not a problem with Refabricated slabs. It is a problem with mod defining dependencies incorrectly.
Maybe a quick patch for yourself, that you can do:
"depends": {
...
"cardinal-components-base": "4.x.x",
...
}
Thank you for looking at it so closely. Since I would like to use the mod in my modpack, the quick fix doesn't really help me. Nonetheless, the information is very useful.
- cardinal-components-base 5.0.0-beta.1 via refabslab
- cardinal-components-chunk 5.0.0-beta.1 via refabslab
- cardinal-components-entity 4.1.4 via puzzleslib
- cardinal-components-world 4.1.1 via wireless_redstone
PuzzleLib and WirelessRedstone may cause problems too.
why is RefabSlabs loading Version 5.0.x?
as I can see it is not available for Fabric 1.18.2
It was the configuration I took from the Cardinal API Github. Nevertheless, the API used in those mods are deprecated and will no longer work in 1.19 as 1.19 I think will be migrating to version 5.0.0+. I can change the version of Cardinal API to make the mod compatible with the ones you are using if it will not cause problems that will take a long time to resolve. Let's see if I manage to patch this till the end of today. Maybe you will see a quick patch for the Refabslabs mod.
Thank you very much for your efforts. Yes in 1.19 version 5.x is used by the Cardinal API dependend mods, but apparently not really in 1.18.2, there v4.x seems to be more common.
So, I have updated the mod to v4.2.0 of Cardinal API. Let's see how it is going to be. Hopefully it is fixed
Kind regards!
thank you very much, it works great now.
fabric-api-0.56.0+1.18.2 refabslab-0.6.4 celib-1.0.0