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.

Aurora

Members
  • Joined

  • Last visited

Everything posted by Aurora

  1. I followed a guide to get my mod setup and have been referencing Minecraft's own code for a lot of my mod. I'm trying to make a gun item that launches a projectile when you right click with it. Here is the code for the projectile: This bit works fine, I haven't put much into it because I just copied the functions over from the snowball class. This is where I'm storing the EntityTypes: I copied this from the EntityType class. It tells me that Registry.ENTITY_TYPE is deprecated, hence the @SupressWarnings line. No errors here. This is where I have all of the SubscribeEvent annotations: The setup function was copied from the guide I followed, which I couldn't figure out how to use with Entities so I just put ModEntityType.LASGUN_SHOT there. Eclipse doesn't show an error here, but the logs do. Here is latest.log: ModEventSubscriber:26 is the line that says ModEntityType.LASGUN_SHOT inside the registerAll parameters. Thanks for your help and if there is anything else I got wrong or should fix, please tell me.

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.