Cool, does it removes the constraints of the block or is it all constraints of the ship that gets wiped?
i still have no idea how to tie constrains to actual blocks (except a very stupid one)
When is this mod going to be finished enough for a modrinth/curse release or its own release channel, it looks like it’s coming along well
Store the end blocks of every connection inside them (the connections) and then do a dumb foreach connection and remove everything that has the block you target
💀
If you want to optimise, then store each connection in a unordered map (that’s the c++ name, ikd its java equivalent) where you index it with a blockpos and the stored object is a list of all connections with that block at one end
Honestly I don’t think there is a better solution, since the connections are not stored in the blocks
Does the strip mod removes all the ropes and other things attached to block or just the rope attached to the face of the block you’re aiming on?
currently it removes all managed constraints from the ship
This conversation is on Discord · Reply there
image.png