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 05/25/20 in all areas

  1. *cough* SlotItemHandler *cough*
  2. 1. You need to use ObfuscationReflectionHelper (can’t remember the exact spelling). 2. Reflection is expensive. Use it once and store the result in a static field and use that from now on. 3. You should directly reference PlayerEntity.class instead of using getClass.
  3. Hi Please update your github so I can attempt to compile it myself? Cheers TGG
  4. You actually can list files from your classpath using the code below: InputStream stream = this.getClass().getClassLoader().getResourceAsStream("assets/enderstuffp"); BufferedReader reader = new BufferedReader(new InputStreamReader(stream)); try { while( reader.ready() ) { System.out.println(reader.readLine()); } } catch( IOException e ) { e.printStackTrace(); } where this represents your mod class and "assets/enderstuffp" is your assets folder It prints a list into your console of all files and folders within the assets folder. Please note that it doesn't do a "deep-search", so you need to write your own method for that if you desire to do a deep search.

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.