r/CreateMod • u/CoCoNuTBSBS • 10h ago
About Create Orbital
How Space Works in My Minecraft Mod
In the Overworld gravity starts getting weaker at 1,000 blocks and completely disappears at 1,500 blocks. At that height regular chunks stop loading and a separate cubic chunk system takes over to handle Sable physics.
Only physics-based objects can exist in space so you can't place regular blocks there. There's also no upper space limit yet.
The cool thing about this system is that you can fly at crazy speeds without lag. I managed to reach 2,000 blocks per second without any freezing or stuttering.
This system also allows procedurally generated Sable structures to spawn in space. You already can see asteroids but i have plans for way more.
Of course there are some downsides. Adding other planets, realistic orbits and proper space physics isn't really possible with the current system. I'll work on that sepperatly after the full release.
Why do it this way?
Because I want seamless space travel. No loading screens, portals or separate dimensions. Just build a spaceship and fly straight into space.
I also want the mod to work in existing Minecraft worlds without changing world generation of Overworld.
You cant do both things at once or i cant figure out a way to do that.
12
u/CoCoNuTBSBS 9h ago
So kinda no "orbits" in create Orbital i guess
14
u/epikc_ 10h ago
make the physics assembler get jammed so you cant force normal blocks to be placed
13
u/LqqnY 6h ago
love your project. i'm building a similar modpack using my godot project as a reference. so far i ported the galaxy generation code and sky rendering. i'd love to contribute to your project. my godot project
7
u/DesperateArachnid573 9h ago
I like this chunk system a lot, it even seems like a neat performance idea (I think I recall an old 1.7 or 1.12 mod doing something similar for vanilla chunks). I'm not sure how planetoids would work though, if even in the scope of the mod, but im interested to see how you approach these things in the future 🙏
3
u/Canarity 9h ago
This is most impressive. I'll be looking pretty fucking forward to adding that mod to my pack, especially considering my ship is pretty much space oriented already
2
u/The_Founder15 8h ago
Im not a modder, but i have an idea anyway. What if when a person generates a new world. Randomly selected sable cubes, as you call them, instead form a planet. A big cube that when approached doesnt show a loading screen just lets you enter it. However I order for this to work, when the player generates their world for the first time, each planet should generate its own ,,entering area" kf normal chunks. So no matter from where you enter the planet for the first time, that area gets mapped to the physical interpretation of the big planet cube and just like a normal world you can generate new unexplored chunks. However that introduces a new problem, when you leave the planet and come back to it from another way the already generated are is already mapped somewhere else (on your innitial enter of the atmosphere) so now you enter a completely unloaded are which is a problem cuz its unloaded chunks. Another solution is which I think is better is. Lets say 10x10 of those sable cubes are turned into one big planet cube which has normal world physics. But you add layers, so the layer occupying the 11x11 and the 12x12 would be considered ,,entering layers" which would also be the atmosphere but it would be the atmosphere now when you enter the atmoshere might get a bit slower performance but thats because youre generating the area for your landing. The idea is to spread the workload of the chunk generation evenly as you approach a planet and before you actually get to those chunks. But that introduces other problems. How do you map an infinite plane world to a very much limited physical cube? But those are ideas thst perhaps you can expand on
2
u/Cylian91460 8h ago
How are you applying that gravity to sublevel? Also how much ai was used?
2
u/Vyrthic 9h ago
This is cool! I also liked that video I had seen of the mining lasers. Made me think of the mining lasers from Elite Dangerous. I look forward to seeing how this develops!
0
u/Impressive_Pin8761 4h ago
i am hands and knees on the floor here, begging, screaming, sacrificing
please for all that is unholy tell me you didn't use ai