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.

AzXeus

Members
  • Joined

  • Last visited

  1. Hi, I'm Java but have some knowledge of programming. I've been trying to figure out a way to fix achievements in a mod that replaces vanilla's tool system but can't seem to figure out how to go about it. I attempted to change the ID and put one in it's place but it is marked as final, so I attempted to override it and then i'm unable to call my method as it became non-static main.java: @EventHandler public void load(FMLInitializationEvent event) { Achievements.registerAchievement(); } achievements.java: public class Achievements extends Achievement { public Achievements(int par1, String par2Str, int par3, int par4, Item par5Item, Achievement par6Achievement) { super(par1, par2Str, par3, par4, par5Item, par6Achievement); } private static AchievementList achievementlist; @Override public Achievement registerAchievement() { achievementlist.buildHoe.statId = 0; Achievement mybuildHoe = (new Achievement(6, "buildHoe", 2, -3, Item.hoeIron, AchievementList.buildWorkBench)).registerAchievement(); return mybuildHoe; } } Any help would by greatly appreciated

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.