Totem animation not working

Started by Trehmor on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Feb 2020
Points:
830

User statistics:

  • Modifications: 0
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
Totem animation not working

Im making some custom totems but the totem animation procedure doesnt work with custom items, it gives me an error, but it works fine with vanilla minecraft items, can anyone help me ? :c

it gives me an error We…
Wed, 11/18/2020 - 10:47

it gives me an error

We will need more context on this error to help you out.

Active 7 months ago
Joined Feb 2020
Points:
830

User statistics:

  • Modifications: 0
  • Forum topics: 33
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
It gives me this error:…
Wed, 11/18/2020 - 16:01

It gives me this error:

Executing Gradle task: build
Build info: MCreator 2020.5.46519, forge-1.15.2, 64-bit, 5840 MB, Windows 10, JVM 1.8.0_265, 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\Juani\MCreatorWorkspaces\Epicraft\src\main\java\net\mcreator\uwu\procedures\ProceduretotemsProcedure.java:82: error: ')' expected Minecraft.getInstance().gameRenderer.displayItemActivation(CUSTOM:Creepertotem);
^
C:\Users\Juani\MCreatorWorkspaces\Epicraft\src\main\java\net\mcreator\uwu\procedures\ProceduretotemsProcedure.java:82: error: not a statement Minecraft.getInstance().gameRenderer.displayItemActivation(CUSTOM:Creepertotem);
^
C:\Users\Juani\MCreatorWorkspaces\Epicraft\src\main\java\net\mcreator\uwu\procedures\ProceduretotemsProcedure.java:82: error: ';' expected Minecraft.getInstance().gameRenderer.displayItemActivation(CUSTOM:Creepertotem);
^
3 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 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.3/userguide/command_line_interface.html#se…
BUILD FAILED in 10s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 24924 milliseconds