News for hackers. Stuff that matters.
Re:Classic Minecraft now free online by voldacar on Wednesday May 08, 2019 @04:28PM (#19862571)
Minecraft IO isn't terribly efficient. The chunks don't get rendered bedrock to the sky, but the chunks have to be loaded from disk like that. Due to the way they are stored, there is no way to load only the visible/nearest part of a chunk. (I'm working on a minecraft clone with cubic chunks btw)
Re:Classic Minecraft now free online by Dylan16807 on Thursday May 09, 2019 @02:14AM (#19865829)
A chunk from bedrock to sky is 5KB on disk. There's no way that loading order is the problem.

There might be issues caused by the raw number of chunk loads, I'm not sure there. But I can say that the majority of my lag issues when hosting minecraft can be squarely blamed on doing world generation in the main thread.

Re:Classic Minecraft now free online by LeifCarrotson on Thursday May 09, 2019 @07:24AM (#19867156)
Whick is why a lot of large servers pre-generate the world out to a few thousand blocks.
Re:Classic Minecraft now free online by zapzupnz on Wednesday May 08, 2019 @05:31PM (#19863172)
I wonder if cubic chunks is possible to add to Minecraft through modding, or to its nearest open-source 'competitor' (for lack of a better term), Minetest.
Re:Classic Minecraft now free online by FooHentai on Wednesday May 08, 2019 @06:54PM (#19863723)
Re:Classic Minecraft now free online by voldacar on Wednesday May 08, 2019 @06:40PM (#19863627)
It would require a hugely significant engine rework. Networking, IO, world generation, entity AI, etc

Basically any part of the code that reads/writes chunks in the world or just references some kind of chunk-related data-type would have to be altered

Re:Classic Minecraft now free online by zapzupnz on Wednesday May 08, 2019 @07:28PM (#19863955)
Another user has posted a link to a mod for 1.12 that seems to do cubic chunks. I wouldn't have thought networking would need to be altered for servers where all users have the appropriate mods installed on the client; world generation and entity AI would follow already-established rules about how loaded chunks relate to unloaded ones.
Re:Classic Minecraft now free online by pythonaut_16 on Wednesday May 08, 2019 @05:03PM (#19862913)
I'd be interested in checking that out! Is it open source? Do you have a Github link?
Re:Classic Minecraft now free online by voldacar on Wednesday May 08, 2019 @06:38PM (#19863618)
It's very much a WIP and is not on any public git server yet. If it ever gets to that point, I'll probably post it on this site