Guest User

The Error

a guest
Feb 11th, 2016
183
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Error:
  2.  
  3. C:\Pylo\MCreator162\forge\build\sources\main\java\mod\mcreator\mcreator_fireWand.java:158: error: method onItemRightClick(ItemStack,World,EntityPlayer) is already defined in class ItemfireWand
  4. public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer player) {
  5. ^
  6. 1 error
  7. :compileJava FAILED
  8. BUILD FAILED
  9. FAILURE: Build failed with an exception.
  10. Total time: 10.498 secs
  11. * What went wrong:
  12. Execution failed for task ':compileJava'.
  13. > Compilation failed; see the compiler error output for details.
  14. * Try:
  15. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  16. C:\Pylo\MCreator162\forge>
  17. Task completed with return code 0 in 11200 milliseconds
  18.  
  19. The code i got for the fireballs is cyberrocky:
  20. https://mcreator.pylo.co/codes/making-item-shoot-fireballs-right-click
RAW Paste Data