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.

Leaderboard

Popular Content

Showing content with the highest reputation on 09/03/21 in all areas

  1. As stated in our last stream. There are mechanics in place to protect us from the 'hit by a bus' syndrom. We don't have just one or two people working on things. I've been working as best I can to make everything in our process open source and teach everyone who is competant how to do what I do. On top of that, no I don't have any intention of stopping. So it's not something i'm too worried about.
  2. Definitely late to the party, but I've spent the past couple days working on learning how to use capabilities too. I finally got a pretty basic capability working, so I hope this helps. Like said earlier, casting from LazyOptional doesn't work. After some digging, it turns out you can still access your functions by using a lambda expression. First post here, so I can't figure out how to format my code into something readable here, so here's the link to my repository. https://github.com/lolzorrior/SupernaturalMod-1.15.2/blob/master/src/main/java/com/lolzorrior/supernaturalmod/ForgeEventSubscriber.java Take a look at the onPlayerLogsIn function. Essentially, you use the LazyOptionals ifPresent function and then use a lambda function from there. Feel free to take a look at my PowerProvider.class to see how I handled the NBT functions.

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.