Fair.
Comment on Notch says he will work on a spiritual successor to Minecraft
LiveLM@lemmy.zip 2 days agoTo be fair I’m being a dickhead.
I’m sure Minecraft’s slowness has more to do with how it was built/tech debt and such that Java itself, as the mods that massively boost performance show.
DerArzt@lemmy.world 2 days ago
Excrubulent@slrpnk.net 1 day ago
You know why villagers cause so much lag if there’s too many and they’re allowed to roam free? Well, rather than optimise their pathfinding logic they just… recalculate their paths every goddamn frame. They also take shortcuts in calculating their paths to reduce this overhead, so their movement is derpy and frequently kills them.
You could make the path then record all the blocks they will interact with, and only recalculate if one of those blocks changes. Boom, millions of operations eliminated, and you’ve got some spare time to make sure the path will actually work.
But they don’t do that, so people end up sticking them in tiny boxes on top of carpets so they stop trying to pathfind. Just absurd stuff.