Topic category: Help with MCreator software
Whenever I try doing runClient this happens.
> Task :compileJava FAILED
C:\Users\cedom\MCreatorWorkspaces\dvacraft\src\main\java\net\mcreator\dvacraft\client\model\animations\uytr4Animation.java:16: error: ';' expected public static final AnimationDefinition walk/levitate=AnimationDefinition.Builder.withLength(1.0F).looping().addAnimation("all",new AnimationChannel(AnimationChannel.Targets.POSITION,new Keyframe(0.0F,KeyframeAnimations.posVec(0.0F,0.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(0.25F,KeyframeAnimations.posVec(0.0F,2.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(0.5F,KeyframeAnimations.posVec(0.0F,4.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(0.75F,KeyframeAnimations.posVec(0.0F,2.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(1.0F,KeyframeAnimations.posVec(0.0F,0.0F,0.0F),AnimationChannel.Interpolations.LINEAR))).build();
^
C:\Users\cedom\MCreatorWorkspaces\dvacraft\src\main\java\net\mcreator\dvacraft\client\model\animations\uytr4Animation.java:16: error: expected public static final AnimationDefinition walk/levitate=AnimationDefinition.Builder.withLength(1.0F).looping().addAnimation("all",new AnimationChannel(AnimationChannel.Targets.POSITION,new Keyframe(0.0F,KeyframeAnimations.posVec(0.0F,0.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(0.25F,KeyframeAnimations.posVec(0.0F,2.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(0.5F,KeyframeAnimations.posVec(0.0F,4.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(0.75F,KeyframeAnimations.posVec(0.0F,2.0F,0.0F),AnimationChannel.Interpolations.LINEAR),new Keyframe(1.0F,KeyframeAnimations.posVec(0.0F,0.0F,0.0F),AnimationChannel.Interpolations.LINEAR))).build();
^
2 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 --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 1s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 1 second
In it, it says something about the animation of a mob that I already deleted isn't working. (I made it in blockbench) I have tried tracking down the file location and deleting it, but it regenerates everytime. Please help?
This is not a valid Java indentifiers.
In your animation maker/modeler, use valid Java identifiers