To collect eggs, build a 2 room pen (Dino gates work great as walls and dividers). Agro a bunch of TBs and lead them to one side of the pen then trap them in. Lead them back and forth between the sides as they drop eggs.
If you are near a swamp you will eventually run into one of these. Make sure to have stim berries in your hot bar for escaping these monsters. They quickly counter the poison so you dont pass out and become easy prey
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.
It's best to keep them at range with a bow or crossbow, don't try and knock them out at all. Be wary of how quick they can sneak up on you at all times near their spawn locations. Make sure you keep stimberries on your hot bar so that way you can still access them if you get bit by a Titanoboa as they will usually knock you out. Upgrading your fortitude can help counteract this so be sure to put some levels into your fortitude early on. Titanoboa's are easy to outpace but be very wary as they can climb over most obstacles so don't bother thinking your safe by hiding behind a rock or a steep slope. Killing these guys is pretty simple with any ranged damaging weapon, just run a couple of steps, turn around and fire, repeat. Make sure you keep an eye on your stamina as it can be easy to forget about it during a battle, running out of it allows the Titanoboa to catch up to you pretty quickly so manage it correctly.
If you're going into a cave with a tribemate and you know the cave has Titanboas, bring a raptor, and just have the raptor ahead of the person on foot, it can one hit almost every Boa, and poison doesn't affect your raptorr as badly.
Titanoboa can be easily killed with a slingshot. Just back up and make sure you pumped weight and move speed and whenever it gets close turn and run jump once or twice and turn around and continue, they give metal tools sometimes so their great early game kills, just carry stim berries on your hotbar
Farming is a thrill! Snap a behemoth gate. Build a stone room on each side. Size of rooms depends on how many you want. Put one doorframe on the outside of each room so you can escape. They will be locked in and lay eggs. To retrieve eggs, open behemoth gate, they'll come after you. Quickly run out your doorframe, run around shut behemoth. And collect eggs in empty room. Rinse and repeat!
Aldo, only build snake farm in swamp. They won't work anywhere else!
In the swamp biome the snakes can be found everywhere so try to find a land they can climb most rocks so flat ground is your best bet brace yourself against the rocks on the spots so they can't sneak behind you and you can get a clear shot
If you wish to kill it by hand, make sure you have some type of long range melee weapon. As long as you are playing on a non modded version of Ark, pikes work best. Keep out of it's bite range (for if it hits you without proper armor you'll be knocked out and eaten), and hold down the attack button.