Jump to content

Recommended Posts

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.

Posted

RenderWorldLastEvent or RenderGameOverlayEvent is maybe what you're after.

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

Posted

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.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.