So i have a dimension called DimH with an increased build limit while all the other dimensions have the normal build limit. The problem is when teleporting a ship from DimH to say the overworld, the ship gets cut off because it gets built at half of y level which is higher than the build limit of the overworld. How do u change the height limit for shipyard?
Reply chain from #29
It basically does (or will do, right now I switched back to the VS2 function, since it seemed to have ben fixed, originally it was very buggy) these things:
Scan the ship, note height/width/length etc.
Copy all ship-data (name, tag, rotation, velocity etc.)
Create new ship in target dimension
Search for an offset to apply to the original ship-coords to make it fit in the new dimension, if none found -> teleport fails
Copy the blocks into the other dimension, but do that by direct chunk access, to prevent any updates
Verify the copied blocks, if any errors (like an dropped block or something) -> teleport fails
Copy NBT data and Conuits (new world-object in my mod)
Delete chunks on the original ship, do that by direct chunk access to prevent any updates from happening.
Manually generate necessary updates on blocks in target dimension
Manually generate updates on deleted blocks
Delete original ship.
Apply all copied ship date (name, tag, rotation, velocity etc.) to the ship in target dimension
-> teleport successfull.
This conversation is on Discord · Reply there