Started by
JakiWasHere
on
Topic category: Help with MCreator software
Executing Gradle task: build
Build info: MCreator 2021.2.36710, forge-1.16.5, 64-bit, 15733 MB, Windows 10, JVM 11.0.11, JAVA_HOME: C:\Users\***\Downloads\MCreator20212\jdk
> Task :compileJava FAILED
C:\Users\***\MCreatorWorkspaces\WorkspaceFolder\src\main\java\net\mcreator\ModName\entity\renderer\RatRemiRenderer.java:27: error: non-static variable this cannot be referenced from a static context
return new MobRenderer(renderManager, new rat_remi_model(), 0.5f) {
^
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
hello forum! i'm asking for some help with this compiler error i keep getting? so far i couldn't find a solution to this anywhere
i've attached a bit of the error message i recieved in the console whenever i save something
i think it might have something to do with the model
here's the contents of RatRemiRenderer.java if it helps with anything