In order to gather eggs you meed to build this building in the swamp, anywhere else will not work. Best way to get them is get a behemoth gate and make two rooms on either side using stone fence foundations and doorways, but do not place the actual door in the door way this tricks the game into thinking they are in an open space (if they are in a closed area they will not lay eggs). These doorways need to be three tall or the can clime over and escape. Once you get your cage, be aware when you drop them in they can still stick there heads through and bite you. Now that you have your snakes in your pit, leave out of render distance for about two minutes then come back, once you come back, there is a chance an egg was laid. Open the behemoth gate and lead the snakes to the other side then lock them in there by closing the gate. You can now safely retrieve your egg.

More Titanoboa Encountering Tips