Throwing an ender pearl.

Started by superevan214 on Fri, 06/19/2015 - 06:09
Last seen on 06:13, 25. Nov 2017
Joined Mar 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Throwing an ender pearl.
Fri, 06/19/2015 - 06:09

I'm trying to make it so when you press Q it throws and ender pearl but it crashes when I press it. The command is just a spawn entity command with the entity ID as 14 (thrown ender pearl)

Last seen on 22:39, 4. Jan 2018
Joined Aug 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
Try make gun , view code a
Fri, 06/19/2015 - 13:31

Try make gun , view code a paste the shot code from the gun and replace entity arrow by ender pearl

Last seen on 06:13, 25. Nov 2017
Joined Mar 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Try make gun , view code a
Sun, 06/21/2015 - 02:39

@#1 Thanks. I'll try.

Last seen on 06:13, 25. Nov 2017
Joined Mar 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:Try make gun , view code a
Sun, 06/21/2015 - 02:46

@#1 @#1 Here's the error I get when I try...

 

[spoiler

C:\Pylo\MCreator156\forge\build\sources\java\mod\mcreator\mcreator_enderScroll.java:204: error: cannot find symbol
                par2World.spawnEntityInWorld(entityenderpearl);
                                             ^
  symbol:   variable entityenderpearl
  location: class ItemgGUN
1 error

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.

][/spoiler]

Last seen on 06:13, 25. Nov 2017
Joined Mar 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
RE:RE:Try make gun , view code a
Sun, 06/21/2015 - 02:46

@#1.2 Sorry... Didn't know how to do spoilers...