custom entity models failing to compile

Started by 10ionic on Mon, 03/09/2020 - 22:42

Topic category: Bugs and solutions

Last seen on 16:08, 9. Sep 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
custom entity models failing to compile
Mon, 03/09/2020 - 22:42

So recently I have been trying to get custom entities from block bench to work. they used to work fine until one day they just stopped. Here is the console.

Executing gradle task: build
Build info: MCreator 2020.1.05419, 1.14.4, 64-bit, 6020 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:242: error: illegal start of type
import org.lwjgl.opengl.GL11;
^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:242: error: ';' expected
import org.lwjgl.opengl.GL11;
      ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:242: error: illegal start of type
import org.lwjgl.opengl.GL11;
          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:242: error: ';' expected
import org.lwjgl.opengl.GL11;
                ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:242: error:  expected
import org.lwjgl.opengl.GL11;
                            ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:243: error: illegal start of type
import net.minecraft.client.model.ModelBase;
^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:243: error: ';' expected
import net.minecraft.client.model.ModelBase;
      ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:243: error: illegal start of type
import net.minecraft.client.model.ModelBase;
          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:243: error: ';' expected
import net.minecraft.client.model.ModelBase;
                    ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:243: error:  expected
import net.minecraft.client.model.ModelBase;
                                           ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:244: error: illegal start of type
import net.minecraft.client.model.ModelBox;
^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:244: error: ';' expected
import net.minecraft.client.model.ModelBox;
      ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:244: error: illegal start of type
import net.minecraft.client.model.ModelBox;
          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:244: error: ';' expected
import net.minecraft.client.model.ModelBox;
                    ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:244: error:  expected
import net.minecraft.client.model.ModelBox;
                                          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:245: error: illegal start of type
import net.minecraft.client.model.RendererModel;
^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:245: error: ';' expected
import net.minecraft.client.model.RendererModel;
      ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:245: error: illegal start of type
import net.minecraft.client.model.RendererModel;
          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:245: error: ';' expected
import net.minecraft.client.model.RendererModel;
                    ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:245: error:  expected
import net.minecraft.client.model.RendererModel;
                                               ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:246: error: illegal start of type
import net.minecraft.client.renderer.GlStateManager;
^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:246: error: ';' expected
import net.minecraft.client.renderer.GlStateManager;
      ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:246: error: illegal start of type
import net.minecraft.client.renderer.GlStateManager;
          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:246: error: ';' expected
import net.minecraft.client.renderer.GlStateManager;
                    ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:246: error:  expected
import net.minecraft.client.renderer.GlStateManager;
                                                   ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:247: error: illegal start of type
import net.minecraft.entity.Entity;
^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:247: error: ';' expected
import net.minecraft.entity.Entity;
      ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:247: error: illegal start of type
import net.minecraft.entity.Entity;
          ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:247: error: ';' expected
import net.minecraft.entity.Entity;
                    ^
C:\Users\iance\MCreatorWorkspaces\Aetheria\src\main\java\net\mcreator\aetheria\MCreatorBlockbird.java:247: error:  expected
import net.minecraft.entity.Entity;
                                  ^
30 errors
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 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:c…
BUILD FAILED in 4s
1 actionable task: 1 executed
BUILD FAILED

Is there anything I'm doing wrong?

Last seen on 04:38, 20. Oct 2020
Joined Jun 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
did you edit the code? if…
Tue, 03/10/2020 - 02:33

did you edit the code?

if not, try to regenerate the code and rebuild

Last seen on 16:08, 9. Sep 2020
Joined Jan 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No I didn't edit it and I'm…
Tue, 03/10/2020 - 04:09

No I didn't edit it and I'm afraid that regenerate cod and rebuild did't work.