error with sword event

2 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 10/05/2015 - 18:24
Gems: 0
error with sword event

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 10/07/2015 - 02:31


Brich036's picture
Offline
Last seen: 5 months 1 week ago
Joined: 05/11/2015 - 03:57
Gems: 2
it could be a bug in mcreator

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