Fabric keeps crashing my game [Java]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:497)

at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)

at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)

at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

Caused by: java.lang.RuntimeException: Failed to hack fabric API

at dev.onyxstudios.cca.internal.base.ComponentsInternals.<clinit>(ComponentsInternals.java:56)

... 31 more

Caused by: java.lang.NoSuchFieldException: type

at java.lang.Class.getDeclaredField(Class.java:2070)

at dev.onyxstudios.cca.internal.base.ComponentsInternals.<clinit>(ComponentsInternals.java:52)

... 31 more

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at dev.onyxstudios.cca.internal.entity.CardinalEntityInternals.lambda$createEntityComponentContainer$3(CardinalEntityInternals.java:101)
at dev.onyxstudios.cca.internal.entity.CardinalEntityInternals$$Lambda$4125/1929087517.apply(Unknown Source)
at java.util.HashMap.computeIfAbsent(HashMap.java:1118)
at dev.onyxstudios.cca.internal.entity.CardinalEntityInternals.createEntityComponentContainer(CardinalEntityInternals.java:86)
at net.minecraft.class_1297.handler$zjn000$initDataTracker(class_1297.java:5685)
at net.minecraft.class_1297.<init>(class_1297.java:263)
at net.minecraft.class_1309.<init>(class_1309.java:219)
at net.minecraft.class_1657.<init>(class_1657.java:199)

/r/MinecraftHelp Thread Parent