Jump to content

Recommended Posts

Posted

I forgot that, but when I added it I got this error:

"The method onUpdate(ItemStack, World, Entity, int, boolean) of type heartMK1 must override or implement a supertype method"

 

Do I need to add it to my item superclass?

Posted

you need to learn java seriously. the @override annotation is there to warn you that you are NOT overwriting. and you are like "oh its giving me a compile error, ill better be deleting that"

Posted

Thanks a load, I just realised that I didn't import minecraft's entity. Also, it's not that I removed @Override, I forgot to add it in the first place xD Works perfectly now, thanks guys!

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.