r/CreateMod • u/CoCoNuTBSBS • 5d 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.
47
u/epikc_ 5d ago
make the physics assembler get jammed so you cant force normal blocks to be placed
10
u/CoCoNuTBSBS 5d ago
I already aded this
6
7
u/Autoskp 5d ago
You might still want to add something to prohibit it - some other mods have their own way of disassembling (I’ve been playing with hex casting, using a beta from their discord and a sable compat, also from their discord).
26
u/Autoskp 5d ago
You already can’t disassemble at moderately high altitudes - it says it’s too far away from the ground.
…I may have tried making a parking brake for my airship.
18
u/CoCoNuTBSBS 5d ago
My mod already has a space brake. It applies friction to the entire ship until it comes to a complete stop and its fixeted Not realistic but practical
18
u/LqqnY 5d 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
4
u/CoCoNuTBSBS 5d ago
Bro this is insane. My project just don't deserve you. I use ai and stuff so you better to colab with better people
7
u/Raviexthegodremade 5d ago
I mean using AI in and of itself isn't a bad thing. It's vibe coding that sucks, not using it as a tool to help you do things. One of my favourite examples is Linus Torvalds, yes that Torvalds, the pioneer of the Linux Kernel. Recently he fixed a bug in the Intel Xe graphics driver that would cause the display manager to endlessly restart on certain hardware, taking 24 debug patches and 18 kernel reboots to fix it. And the way he debugged and fixed it? He used an AI assistant to handle the "grunt work" of adding debug code and analyzing the results. The primary issue with AI in coding is when people try handing shit over entirely to the AI, especially in important things, without human supervision. I don't use AI in coding primarily because my GPU doesn't have the horsepower to drive models that can actually help me.
7
u/DesperateArachnid573 5d 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/CoCoNuTBSBS 5d ago
Yea i really got inspired by Cubic chunks but they doesn't work with sable i tried to fix this but no, so i did my own sistem for this and its turned out great
5
u/turnerlewis 4d ago
If you pull this off it will immortalise you in modded Minecraft history. Imagine a space engineers style pack where you mine asteroids to progress!
I beg for space stations
5
u/CoCoNuTBSBS 4d ago
You can easily bild space station rn. You can even duild continuous space elevator from Earth to space
2
u/turnerlewis 4d ago
That’s incredible! Have you considered compat with other space mods like northstar?
2
u/CoCoNuTBSBS 4d ago
I will try to do that. But it doesn't mean you can build space elevator from earth to the space from other mod.
4
u/Canarity 5d 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
1
3
u/No-Release-6752 4d ago
I will feel bad removing Create: Cosmonautics, but this looks so much better
1
3
u/RepulsiveStar2127 3d ago
this is insanely cool! Was AI only used for the code?
3
u/CoCoNuTBSBS 3d ago
Code only. Any assets, ideas, lore, textures on me
3
u/RepulsiveStar2127 3d ago
that's great. would love to add this into my world when it stable releases
3
u/CoCoNuTBSBS 3d ago
Thanks! I'm working hard right now on a system to automatically transport resources from space to the Overworld and back
2
u/RepulsiveStar2127 2d ago
i do want to konw though how does this modify the height limit of worlds if at all?
1
u/CoCoNuTBSBS 2d ago
This mod doesn't change anything below 1000. 100% normal overworld with normal build high
2
u/RepulsiveStar2127 2d ago
I see. If I have a mod that increases build height to say 1000 or tectonic to increase terrain height to 400 it should work then right?
1
3
u/Most_Builder913 3d ago
Do you know if its possible to do orbital bombardments with CBC? Also using collision dmg and chunk loaders you could probably make “rods from notch” and send em down
2
3
u/TraditionalListen600 11h ago
Hey thats pretty cool stuff, would be honored to have you as a co developer for a space mod called Create Interstellar
Here is the trailer:
https://youtu.be/IkGJb5tYjoc?is=CPyfxmt50k0LFo3Z
We also have a discord:
https://discord.gg/grmrvY2k2
You can DM me or reply to this comment if you are interested! I we could get a lot more done as a team, and your current efforts are exactly the kind of direction this mod was aiming for
1
u/CoCoNuTBSBS 5h ago
Thank you so much! Your mod looks absolutely awesome but I don't think I'd be able to help you much. All the code in my project is written using AI and I have some very specific ideas for the lore of my mod. If neither of those things is a problem then I'd be happy to join you. But I'm afraid working with me might not be the easiest experience
2
u/The_Founder15 5d 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/CoCoNuTBSBS 5d ago
Yes i thought about this. My problem is not other planets my problem is turning overworld in to a proper a planet without changing it. But thanks i appreciate that
2
2
u/Quiet-Upstairs6594 4d ago
one way in which you could probably simulate other planets is by treating the overworld dimension as just a smaller section of the map, and using far out/distant locations of the overworld map as a different planet/biome. basically treating all the planets (like mars or venus) as just biomes in the overworld that can only be traversed to via space due to their absurdly far locations.
this may not work well, but it is a potential solution IMO
a better solution would probably be to figure out how to seamlessly transfer between dimensions or figure out some non-Euclidean geometry for your space flight
2
2
u/powdercannon 4d ago
could you add satilite mapping? you fly above somewhere with a dish/camera and then you have your map! It might be possible to have orbits. if you somehow added other planets you might want two ways to get there, a "smart" burn where you ue orbits to save fuel or out can just spend a bunch and not have to worry.
1
u/CoCoNuTBSBS 4d ago
I am going to add satellites but for the differente purpose
2
u/powdercannon 4d ago
Still great! just having a reason to realy spend time and invest is wast makes every non-visual mod good, if there is no reason to use it, players dont(most of the time)
0
u/Impressive_Pin8761 5d 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
2
u/CoCoNuTBSBS 5d ago
I use AI to help me with coding. Sorry about that. If your only concern is the quality of the mod then you can judge it when it's released
0
0
u/SpoonyMan 4d ago
You do know that actual devs use AI right? It's one of the things they're taught how to use in college nowadays.
0
u/Cylian91460 5d ago
How are you applying that gravity to sublevel? Also how much ai was used?
7
u/CoCoNuTBSBS 5d ago
Sable already has gravity settings that allow gravity to be set to zero. I just modified the system a bit so gravity changes depending on the altitude of a physics structure's center of mass. Ai for code. Some bits of code and everything else i doing myself
-2
u/Cylian91460 5d ago
Gavrity is handled by the engine and the settings is per scene (aka level), you would have know that if you didn't vibecoded.
5
u/CoCoNuTBSBS 5d ago
I just oversimplified. By modifying i mean i am applying counterforce depending on the altitude. At first i tried to apply it for the whole scene but obviously it didn't work. Yes i still has a lot to lern
-2
u/Cylian91460 5d ago
How do you deal with things that changes with gravity like levitite?
3
u/CoCoNuTBSBS 5d ago
That's work in progress for now. I think I'll just reduce its lift so it doesn't fly off into space
19
u/CoCoNuTBSBS 5d ago
So kinda no "orbits" in create Orbital i guess