Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Executing Gradle task: build
- Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 16316 MB, Windows 7, JVM 11.0.11, JAVA_HOME: E:\Program Files (x86)\MCreator\jdk
- > Task :compileJava
- E:\stuffs\idk\src\main\java\net\mcreator\mod\entity\renderer\AnimalRenderer.java:26: error: cannot find symbol
- RenderingRegistry.registerEntityRenderingHandler(AnimalEntity.entity, renderManager -> {
- ^
- symbol: variable entity
- location: class net.minecraft.entity.passive.AnimalEntity
- E:\stuffs\idk\src\main\java\net\mcreator\mod\entity\renderer\AnimalRenderer.java:27: error: non-static variable this cannot be referenced from a static context
- return new MobRenderer(renderManager, new animal(), 0.5f) {
- ^
- 2 errors
- > 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.
- * Try:
- 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 8.0.
- You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
- See https://docs.gradle.org/7.1.1/userguide/command_line_interface.html#sec:command_line_warnings
- BUILD FAILED in 5s
- 1 actionable task: 1 executed
- BUILD FAILED
- Task completed in 7 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement