This thread was marked as Locked by master801.
1.12.2
1.11
1.10
Forge
Open Source
Overwiew
This mod is a Forge port and a continuation of Cuchaz's Tall Worlds Mod, and also a successor of Robinton's Cubic Chunks mod. This fork of TWM has been in development for over a year, and it's still not ready for a beta release. I decided to created this thread anyway because people asked the same questions over and over again in TWM thread.
More information, and how it works?
The goal is to increase the world height and depth, without making the game too slow. This mod attempts to do that not by making chunks taller (like many earlier attempts), but by making them smaller and stacking them on top of each other, just like what Minecraft already does horizontally.
Minecraft 1.2 together with changed save format got world height increased up to 256 blocks. This was possible without making the game slower by splitting a Chunk into 16x16x16 subsections, just like what cubic chunks does (and in fact the update has been inspired by Robinton's cubic chunks mod). But instead of dynamically loading and unloading them, Minecraft just removed the empty ones which decreases memory usage. This mod dynamically loads and unloads these 16x16x16 sections as player goes up and down.
Downloads
What is left to do?
The full list of issues to solve can be found on github. Those marked with "beta release" milestone almost certainly need to be fixed before beta release.
Mod compatibility
Some mods will work, but many mods will break in unpredictable ways. Wile some mods may appear to work, even in 100+ mods modpacks, they are very likely to break when you actually begin to use them.
Plans far into the future
Some of these involve someone else making mod to do that, or just ideas that would be awesome to have but may never actually happen
Contact and donations
You can contact me via private message, email or discord server.
Donations: Patreon
Cubic chunks discord server
Nice work!
I added a link to this thread at the top of the OP in my thread. Hopefully fans of cubic chunk mods will find their way here. =)
Have you seen what some mods are doing?
I will just give a couple of code examples:
https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/1760113cd46e08178d0eda3a8233f4205a5f7973/src/main/java/appeng/util/Platform.java#L1774-L1791 - This will never work with cubic chunks
https://github.com/AppliedEnergistics/Applied-Energistics-2/blob/41b8754130f0dd04a7e2d4291727f3b743b4ffc0/src/main/java/appeng/spatial/CachedPlane.java#L401-L412 - I could make it kind of work for 0-256 height, blocks below that will crash, blocks above that have a high chance of corrupting live chunks
https://github.com/rwtema/FunkyLocomotion/blob/b19bc508a2b4351ebeec61379051aa9cae5377d1/src/main/java/com/rwtema/funkylocomotion/network/FLNetwork.java#L29-L69 - this when updated to 1.11 has a high chance of randomly exploding with some error clientside
https://github.com/Drakmyth/Manufactory/blob/be9596f1ede05d83187ca7dc80109005a26aff03/src/main/java/com/drakmyth/minecraft/manufactory/tileentities/TileEntityUtils.java#L14-L25 - same here
https://github.com/lumien231/Random-Things/blob/1c5e55f1527ace0ba0989cd1206815398dabe9f6/src/main/java/lumien/randomthings/network/MessageUtil.java#L31-L75 - same issue, and many many other with the exact same thing
https://github.com/MrRiegel/Portals/blob/6223d7290a9f52c6fecc3bf3f5b232572d62f19d/src/main/java/mrriegel/portals/tile/TilePortaal.java#L15 - anything that does this has no chance of working outside of some height range. And a lot of mods to this
https://github.com/amadornes/Framez/blob/e6df01d19c62341d44e382265ca183fc2e923e40/src/main/java/com/amadornes/framez/util/BlockUtils.java#L58-L79 - if there are height checks in the mod - I can make it work for height 0-256, if not - it will crash below y=0 and corrupt live chunks above y=255 (seems to be removed in latest version, but some mods probably do it)
And this was what I found after just a few minutes of searching using github search feature (which almost never finds what you want). Seemingly unrelated things actually touch chunk loading. A lot of what mods do including terrain generation can work with cubic chunks in height range 0 to 256. The above won't just break outside of that range but possible corrupt your world or crash.
But you can't blame authors of the mods. Mods are free to assume they are dealing with vanilla minecraft+forge, and anything that breaks as result from not behaving exactly the same can be seen as not their fault. There is nothing I can do, and there isn't much I should expect them to do, because mods do in fact have access to all Minecraft internals.
Cubic chunks discord server
What about the world size? The addition of so many blocks underground must make the files huge.
Yes it will increase size of the files, most likely in 3 different ways, and there really isn't much I can do. All I can say is: HDDs are big, unless you are running a server there is nothing to worry about:
Cubic chunks discord server
Awesome! I'm glad to see that someone is making progress on this. Cubic Chunks are awesome. Hopefully the makers of the other mods will be able to take compatibility with this mod into consideration, I'd love to see this appear in a future FTB modpack or something.
Currently I've been playing the only semi-working cubic chunk mod-- Robinton's CC for beta 1.7.3. It has plenty of rendering issues but it works for the most part.
The more difficult thing with it has not been mod compatibility, but finding mods! Most links from September 2011 or earlier have not been maintained. And in one or two cases, a mod that added needed blocks (e.g. Stone Bricks) didn't even have recipes!
5½ years ago, it looked at one point like Notch was going to obtain or duplicate Robinton's code and add it to vanilla MC. Then Jeb and another person who thought it would behave like the taller chunk mods (i.e. lag out the computer) convinced him to not do it. This is the biggest injustice in all of Minecraft and has set us back years in CC development. Robinton was disheartened and quit.
This has been a long time in coming and we're still not there yet.
The lesson to be learned here is, when Barteks2x's mod comes out (whenever), grab it and run with it!
Cubic Chunks mod: https://discord.gg/kMfWg9m
Mental Block server: https://discord.gg/AssnrXr
I was able to bet MC 1.0.0 test version working with some mods, but I remember some mods crashing (even Risugami's shelf mod crashed after placing some of it's blocks). Finding beta mods is going to be close to impossible, you may have better luck writing them yourself (that is if you manage to get MCP working, it requires changes to some scripts)
I don't think you are completely right. It was jeb who actually implemented semi-cubic chunks based on Robinton's mod, and together with that added initial support for 4096 block IDs in save format and internal chunk data (also base don his mod) which is what made huge modpacks possible as we know them.
I think the reason they didn't actually take the code and implement real cubic chunks system was because skylight calculation seemed impossible to solve, and maybe a few other minor issues. Instead Minecraft took the good parts of both (except infinite height). The reduced lag and memory usage of cubic chunks, and the simplicity of linear chunks.
Without many changes to Minecraft code it would be possible to increase height to arbitrary value without making game very slow as long as you aren't trying to build there - truly dynamic world height. And I may actually make a mod that does just that - unlocks full possibilities of anvil format.
Cubic chunks discord server
When I try to compile, I just get an error message:
A problem occurred configuring root project 'CubicChunks'.
> One of setGitDir or setWorkTree must be called.
Any idea what's causing this or how to fix it?
Report it here, I don't want to have long discussion about compiling it here on minecraftforum. Also I probably should remove instructions from here and move them to github where they should be.
Cubic chunks discord server
This Mod project is MineCrak Approved
- The Cubic Chunks Mod is back! Be a part of it's rebirth and Development.
-- Robinton's Mods: [ Mirror ] for some of his Mods incl Cubic Chunks Mod, due to DropBox broken links.
- Dungeon Generator for the Open Cubic Chunks Mod
- QuickSAVE-QuickLOAD for the Open Cubic Chunks Mod
I was working on exactly that when you posted it. You should see readme on github updated in several minutes. Also note that users compiling a mod to run it is not a normal thing to do. I didn't release it yet for a good reason.
Cubic chunks discord server
Join gitter chat (link in readme on github), this should asking questions quickly a bit easier, that seems like you are doing something wrong but I don't know what.
Cubic chunks discord server
I'm stuck at the file screen. When I click the gradlew batch file, it redirects me to the command prompt amd I can't type anything.
Just... don't. That's what I recommend. Currently there is also an issue with compiling it on windows (line endings (not) fun). When it's good enough, I will upload a preview/beta jar to download.
Cubic chunks discord server
Works for me, just tried a fresh clone. Either your git version is broken/outdated, or you are doing it wrong.
Cubic chunks discord server
Have you come up with a fix for the skylight calculation issue?
I have it mostly working but it's nowhere near simple, and there are still client/server synchronization issues, and some performance issues.
Cubic chunks discord server
Hm, there is also the problem with render distance not being enough to actually load the map as far as would be necessary to really enjoy the awesome scenery this would possibly give. A workaround would be some sort of distant terrain renderer that essentially already generates the landscape but doesnt decorate it and uses 1x1 textures intead of 16x16 textures or alternatively just renders the middletone of the textures the blocks would normally use. And when the player gets closer it loads the actual textures and decorates the terrain with grass, trees, etc. A render distance of about 48 chunks would certainly be really awesome to play on. You could check out the way 7 Days To Die have done their distant terrain rendering (Best Survival Game out there).
This is way outside of the scope of the core cubic chunks mod. But it's certainly something I would like to see at some point.
The problem with rendering distant chunks isn't that rendering textures is slow. It's the absurdally high amount of polygons and the amount of 16x16x16 render chunks to draw. Even flat 16x16 surface has 256 rectangles, which that GPU renders as 512 triangles. And terrain is rarely flat, usually more than doubling that number. And loading that stuff - it's all done serverside. And how do you think server will send this data to client? Sending just the blocks would be slow. I know the windows 10 version of Minecraft somehow manages to work with such render distance. I have no idea how. My guess is that C++ compiler is much smarter at optimizing code, and the fact that it was optimized to work well on mobile devices (because it essentially is mobile version compiled for windows 10).
32 chunks render distance already uses a lot of memory even in vanilla, and even more in cubic chunks (because of vertical view distance and some additional overhead).
What could be done is some algorithm that can generate low-polygon no-texture mesh ideally on scale larger than 16x16x16 blocks. This would no longer render blocks, but a smooth approximation of the terrain. It would also be careful with rendering player-made structures. And somehow loading them - a special structure in world save would need to be added for efficiently loading the data. Which would increase size of save file even more.
So in short, maybe at some point in the future as separate mod.
Cubic chunks discord server