Closed ArturViento closed 9 months ago
I've managed to fix this myself just now. What you need to do is go into your gradle.build
file and add these 2 lines in the dependencies
section
modImplementation include("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cca_version}")
modImplementation include("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cca_version}")
Then, in your gradle.properties
file add
cca_version=<version>
(check Cardinal Components API's Releases for the versions)
Then just refresh your dependencies
delete the .gradle
folder
then do gradlew --refresh-dependencies
That should fix the issue.
Why this isn't in the readme, is beyond me. Then again, the wiki is outdated so.
This is caused by the cardinal components maven constantly changing, up to date versions should fix it but they move so often that my existing versions become broken. Posted fix will work.
Thanks all
Moment in my code
repositories: maven { url = "https://maven.terraformersmc.com/"} maven { url = https://maven.ladysnake.org/releases} maven { url "https://maven.shedaniel.me/" } maven { url "https://maven.wispforest.io/"} maven { url "https://maven.terraformersmc.com/"} maven { url "https://jitpack.io" } maven { url https://api.modrinth.com/maven content {includeGroup "maven.modrinth"}} maven {url "https://maven.jamieswhiteshirt.com/libs-release" content {includeGroup "com.jamieswhiteshirt"}}
dependencies:
I need to use getEquiped. that error....