Topic category: Help with modding (Java Edition)
I have just started helping my 8 year old son with his first mod and both of us are new to it. We are trying to make a chicken that lays a lot more eggs then a normal chicken. Anyways we did a bunch of video tutorials and went through all the steps and ended up with the following compile errors. Any help understanding this or pointing us in the right direction would be greatly appreciated.
Cheers, Shane and Zack.
Executing Gradle task: runClient
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 16268 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\Shaner\MCreatorWorkspaces\weirdochicken\src\main\java\net\mcreator\weirdochicken\entity\ChickenEntity.java:123: error: incompatible types: Class cannot be converted to Class? extends LivingEntity> this.goalSelector.addGoal(5, new LookAtGoal(this, ChickenEntity.class, (float) 6));
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
BUILD FAILED in 18s
1 actionable task: 1 executed
Task completed in 374964 milliseconds