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.

Featured Replies

Posted

Hello,

is there a (simple) way to run code each time the game renders a new frame / completes or starts a new gameLoop?

Minecrafts main loop method "runGameLoop()" can be found in the Minecraft.java class.This is also where the all the rendering is initiated.

Is there a way to interface with the Game loop through a (Forge) interface?

 

Thanks

Busti

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

RenderWorldLastEvent or RenderGameOverlayEvent is maybe what you're after.

1.7.10 is no longer supported by forge, you are on your own.

  • Author

Thanks that should do the trick :D

I want to render everything that is rendered on the whole screen independently with some modifications to the render code...

By the looks of things it should be doable.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

  • Author

And before you ask...

I don't want to use the screen as an output.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Guest
This topic is now closed to further replies.

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.