I'm having difficulties making the mods.

Started by Fincone on Sat, 01/16/2016 - 11:17
Last seen on 13:46, 9. Oct 2016
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
I'm having difficulties making the mods.
Sat, 01/16/2016 - 11:17

So I'm trying to make a mod where it adds a bazooka, but when I'm finished, it says something about an error.

C:\Users\New\Downloads\MCreator 1.6.2 [1.8.9] Windows 64bit\forge\build\sources\main\java\mod\mcreator\mcreator_bazooka.java:224: error: illegal start of expression
EntityArrow entityarrow = new EntityArrow(world, (EntityLivingBase)entity,  * 2.0F);
                                                                            ^
C:\Users\New\Downloads\MCreator 1.6.2 [1.8.9] Windows 64bit\forge\build\sources\main\java\mod\mcreator\mcreator_bazooka.java:225: error: illegal start of expression
entityarrow.setDamage(*2.0F);
                      ^
C:\Users\New\Downloads\MCreator 1.6.2 [1.8.9] Windows 64bit\forge\build\sources\main\java\mod\mcreator\mcreator_bazooka.java:227: error: illegal start of expression
world.playSoundAtEntity(entity, "random.bow", 1.0F, 1.0F / (0.5F * 0.4F + 1.2F) +  * 0.5F);
                                                                                   ^
3 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.

Last seen on 04:18, 9. Sep 2016
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
two things 1 i allready made
Thu, 01/21/2016 - 05:47

two things 1 i allready made a bazooka mod and 2 try to factory reset or check what you did wrong.