Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Author

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?

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"

Look up the signature of the method u want to override. ask eclipse for help with overwriting. check if u extended the class correct.

  • Author

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.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.