I've just sarted development of a mod on 1.21 an tried to create a custom armor model using GeckoLib.
For using the class i need to import :
import net.minecraft.client.render.entity.model.BipedEntityModel;```
But the import is not recoknozed and inteliJ sugest that i add the dependency :
``Add library 'Gradle: net.minecraft:minecraft-clientOnly-306bad6e3f:1.21-net.fabricmc.yarn.1_21.1.21+build.2-v2' to classpath``
However, if i do so the erro disapear in inteliJ but the gradle build still faile with the exact same error.
I've asked the same question on the gecko lib Discord but as it may be due to wrong project configuration, they sugest me to go ask here as well.
Thank you 😉