Remix.run Logo
lunar_rover 4 hours ago

> I'm so continuously confused why Minecraft doesn't have a show-off mode where a team of people can build something, and then someone else can spectate it, without causing undue server load.

You'll be confused by Minecraft in general then. Mojang's core team seems like they never changed a bit in all these years despite becoming a billion dollar studio, for better or for worse. Last time I played it, mods can still make the game run twice as fast.

chadgpt3 3 hours ago | parent [-]

They actually added a lot of indirection to the code soon after being acquired. Instead of an array containing the number 1 (meaning dirt) it now contains a pointer to an object with a string name and a hashmap of properties. Instead of drawing a cube in code, it's loaded from an interpreted DSL - all possible calls to that DSL are fixated at load time. The chunk generation process creates and executes a graph of micro-tasks which forms that weird pixel map you see when creating or loading the world. It transitions each chunk through about 15 different states on the way from nonexistent to fully loaded.

They used to talk about wanting to store block update relationships to prevent BUD (block update detector) behavior. I didn't like it at the time, but from a certain perspective it would have been an improvement. Instead they spent their complexity points on pointless memory waste.