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.

TheOneThatShouldntBeNamed

Members
  • Joined

  • Last visited

  1. My bad, I was looking at the wrong class. : /
  2. How would one go about opening a GUI from an abstract class?
  3. I'll try to describe what I want to achieve: The mod that I'm trying to modify has some custom GUI's, which I want to open by my mod. My thinking was, if I can get all Screen classes, I can search for the one I need and open it if you know what I mean.
  4. I wanted to get all classes extending Screen for a thing I was doing. Speaking more generally, I am looking for a way to "modify" the other's mod behaviour without getting into bytecode manipulation (Getting all Screen classes was not a part of that, I wanted to test something out). I was looking for something similiar to the Harmony.Lib in C#.
  5. Hi. Sorry in advance if this question was asked, but I couldn't find any instance of it on here. My question is, can (and if yes, then how) I use org.reflections on other loaded mods? I tried looking it up online, but I couldn't get it to work. More specifically, I wanted to look for classes extending a certain class in another mod. I know it should look something like this, but I'm not sure what to put into parameters in new Reflection(). (It's worth noting that I already have the ModContainer as well as ModObject of the mod I want to modify in a variable if that helps) Reflections reflections = new Reflections("package.goes.here"); Set<Class<? extends CertainClass>> CertainClassSet = reflections.getSubTypesOf(CertainClass.class); Any help from you all is appreciated, and again, sorry if this question was asked / is basic.

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.