Jump to content

[Solved]Interface with main Game / Render loop?


Busti

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.