Cardinal Components API

Cardinal Components API

21M Downloads

joining a server that has this mod on a vanilla client wont let me join

Elyas2024 opened this issue ยท 3 comments

commented

i tried joining my server on localhost to test an update im tryna push to my smp, i joined on a client with only client side mods. it said i need the cardinal components api mod to join.

commented

Did you use AutoSyncedComponent somewhere in your mod ? If so, you need to override isRequiredOnClient.

commented

Thank you, but i can't find "how to override isRequireOnClient".
Please can you explain ?

commented

Sorry for the delay, I missed your question. The wiki has an example : https://ladysnake.org/wiki/cardinal-components-api/synchronization#client-optional-components