Is it just me or does it feel smoother? Because even with mods I’ve never been able to get java to run without some level of jankiness. I have a realm server I share with friends entirely because of the ability to have mods work and gameplay to be smooth.

If I’m wrong about this, would be nice to know how you get Java to run smoothly, I miss Mystcraft.

  • pivot_root@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    6 days ago

    Some initial design decisions make it just really difficult to modify the game loop and make it more efficient.

    That’s the understatement of the decade-and-a-half. The generational hypothesis is doing a lot of heavy lifting for that game…

    Using a language where the only things that aren’t stack-allocated are primitive types is already starting off at a disadvantage, and Notch decided to work to its weaknesses by turning almost everything into multiple objects and pooling almost nothing.

    I would hope Mojang has fixed this by now, but the earlier versions of the game also used OpenGL draw commands instead of vertex buffer objects. Crossing the JNI barrier is already expensive, and having to do that multiple times to draw a colored square only compounds it.