I'm working on a suggestion that implements working ships. I have the content down, but I'd like some external ideas for the logistics.
Of course, I'm trying to sort out the issue of lag that something like this would cause. The default limit for the amount of blocks in a ship would be 8,000 blocks, excluding air. Since having large entities can lag and even crash the game, it can't be a single entity. And since having a lot of entities at once can lag the game heavily as well, having each block as its own entity isn't too practical either. So, my suggestion is to have the ship divided into "slices," where more than one block is grouped together to make an entity. Also note that each "slice" would have multiple hitboxes like an armor stand, so that if there is an explosion it knows what blocks to delete from the entity.
So, what I am asking help for is:
1. What would be a good size for the "slices" so that they aren't too big and there isn't too many of them?
2. What are other possible method for making working ships with minimal lag and computing power?
A single entity is how the other 2 multiblock ships mods (Archimedes Airships-which was first continued as AA Plus and then later that was renamed to DaVinci's Vessels--and Ships--an older mod that I'm pretty sure didn't advance past 1.7.10 that let you create huge ocean-going vessels) do it. They have some restrictions on what can touch the ship when you're building it. There's another airship mod, ViesCraft, but that doesn't do large multiblock vessels.
Archimedes Ships/DaVinci's Vessels was plagued by lag issues, and ultimately they developed their own API or library to support the mod called Moving World. You might want to talk to the author about how he did it.
multiblock ships mods (Archimedes Airships-which was first continued as
AA Plus and then later that was renamed to DaVinci's Vessels--and
Ships--an older mod that I'm pretty sure didn't advance past 1.7.10 that
let you create huge ocean-going vessels) do it. They have some
restrictions on what can touch the ship when you're building it.
There's another airship mod, ViesCraft, but that doesn't do large
multiblock vessels.
Archimedes Ships/DaVinci's Vessels was plagued by lag issues, and
ultimately they developed their own API or library to support the mod
called Moving World. You might want to talk to the author about how he
did it.
Yeah the lag issues are why I have decided against having one large entity. Another thing we have to consider is that in my suggestion the ships would be affected by explosions (to allow for naval warfare), so the ship or "slice" would have a complex hitbox (similar to how the armor stand can detect what armor part you are right-clicking on) so that it can take away the blocks from the ship accordingly.
Any idea who the creator of Archimedes Ships / DaVinci's Vessels is?
Hello all!
I'm working on a suggestion that implements working ships. I have the content down, but I'd like some external ideas for the logistics.
Of course, I'm trying to sort out the issue of lag that something like this would cause. The default limit for the amount of blocks in a ship would be 8,000 blocks, excluding air. Since having large entities can lag and even crash the game, it can't be a single entity. And since having a lot of entities at once can lag the game heavily as well, having each block as its own entity isn't too practical either. So, my suggestion is to have the ship divided into "slices," where more than one block is grouped together to make an entity. Also note that each "slice" would have multiple hitboxes like an armor stand, so that if there is an explosion it knows what blocks to delete from the entity.
So, what I am asking help for is:
1. What would be a good size for the "slices" so that they aren't too big and there isn't too many of them?
2. What are other possible method for making working ships with minimal lag and computing power?
Thank you,
Wolftopia
Check out my suggestions! Here is one of them:
A single entity is how the other 2 multiblock ships mods (Archimedes Airships-which was first continued as AA Plus and then later that was renamed to DaVinci's Vessels--and Ships--an older mod that I'm pretty sure didn't advance past 1.7.10 that let you create huge ocean-going vessels) do it. They have some restrictions on what can touch the ship when you're building it. There's another airship mod, ViesCraft, but that doesn't do large multiblock vessels.
Archimedes Ships/DaVinci's Vessels was plagued by lag issues, and ultimately they developed their own API or library to support the mod called Moving World. You might want to talk to the author about how he did it.
Yeah the lag issues are why I have decided against having one large entity. Another thing we have to consider is that in my suggestion the ships would be affected by explosions (to allow for naval warfare), so the ship or "slice" would have a complex hitbox (similar to how the armor stand can detect what armor part you are right-clicking on) so that it can take away the blocks from the ship accordingly.
Any idea who the creator of Archimedes Ships / DaVinci's Vessels is?
Check out my suggestions! Here is one of them: