error with sword event

Started by Zamzlord on Tue, 10/06/2015 - 06:10
Last seen on 04:04, 9. Oct 2015
Joined Oct 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
error with sword event
Wed, 10/07/2015 - 00:31 (edited)

I don't know if this is considered advanced or not but I haven't coded in over a year, and I just got back into modding and found this, which was a great help because over the year I completely forgot how to code.  I'm having a problem with a spawn entity event, I want to shoot blaze fireballs but I only get errors.

code is here

F:\Programs\MCreator\forge\build\sources\java\mod\mcreator\mcreator_blazitesword.java:124: error: cannot find symbol
int j = (int)(entity.prevPosY + (entity.posY - entity.prevPosY) * (double)var4 + 1.62D - (double)entity.yOffset);

 

error:

symbol:   variable yOffset
  location: variable entity of type EntityPlayer
1 error

I know where the error is I just dont know how to fix it.

thank you for your time.

Zamzlord

Edited by Zamzlord on Wed, 10/07/2015 - 00:31
Last seen on 05:35, 11. Jan 2017
Joined May 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
it could be a bug in mcreator
Wed, 10/07/2015 - 04:32

it could be a bug in mcreator for 1.8 if your using mcreator for 1,8