Sorting bees with specific genomes?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Roachy

New Member
Jul 29, 2019
44
0
0
Hi, I've recently got a bee facility up and running and am fleshing out my automation. I'm running into a wall at the moment where I'd really like to sort out bees with exact genomes. I originally had a setup using a diamond pipe but it has proven to be unreliable. Is there a reliable way to sort out bees with an exact genome using pipes/tubes/sorting machines/routers/etc? Would I need to introduce an Analyzer to accomplish this?
 

SandGrainOne

New Member
Jul 29, 2019
129
0
1
There is an Apiarist pipe that acts kind of like the diamond pipe. It enables sorting based on species, and the genes: nocturnal, cave and flyer. It can separate one species from other species and hybrids from pure.

I don't know of any component that can sort based on biome traits, lifespan or work speed.
 

QuantumPugilist

New Member
Jul 29, 2019
52
0
0
If you want an exact genome, to for things like "fastest" or specific hybridity, Misc Peripherals is the only way to go. You use the analyzer peripheral (bee, tree, or butterfly, depending on version availability), to dump a table of the complete trait of the given bee (or whatever). You can then use a turtle to dump the bees in specific locations.

Usually, I skip all that and just dump the bees into a chest. Once I have a full stack of drones, all further drones from that unit go right into liquid DNA or a void. If I have a complete serum set for that breed, all drones dump to a genepool or void.
 

Roachy

New Member
Jul 29, 2019
44
0
0
Thanks for the replies. I should have mentioned first off that yes I'm using apiarist's pipes, and yes I'm looking for more control over specific traits. I should also have mentioned that I'm using the Mindcrack pack 8.3.2, so I do not have Applied Energistics (which I didn't even know about until now). Kinda wish I did, cause it sounds quite awesome. As it stands, it looks like I'll have to go with Misc Peripherals. I was trying to avoid that. I'm no beginner with ComputerCraft but I was dreading and avoiding having to learn how to use it to sort bees. Particularly because the primary reason I need to is quite simple. Plus I just like pipes better for things like sorting because they are more fun to build and watch in action than a single turtle sitting there doing apparently nothing ;] Although I do enjoy my various farming turtles that all harvest on command via wireless rednet.

I'm currently using an autobreeding setup that uses a router to distribute bees (similar to this). The problem comes in when the diamond pipe in that linked setup doesn't sort reliably and ends up sometimes ruining my species by accepting wrong bees, and overflowing chests by sometimes NOT accepting correct bees. So I ended up scrapping the diamond pipe and dumping all drones not coming directly from the "source" apiary straight to the genepool. This however leaves me with not enough source drones to keep the process going.

All I really need is a way to ensure that my "source" apiary (with the original purebred princess) always has at least 1 purebred drone to mate with. I had considered perhaps introducing a quick Manager solution or something to my existing setup (between the source apiary and the router) to accomplish this, but that seems ugly.

I've heard people rave about DW20 and his system, but the last time I checked him out I couldn't pinpoint the episode(s) that showed me what I wanted to see. I'll have to make another attempt.
 

SandGrainOne

New Member
Jul 29, 2019
129
0
1
All I really need is a way to ensure that my "source" apiary (with the original purebred princess) always has at least 1 purebred drone to mate with. I had considered perhaps introducing a quick Manager solution or something to my existing setup (between the source apiary and the router) to accomplish this, but that seems ugly.

I must admit that I simply let the Apiary or Alveary fill up with one stack of drones. I did start making intricate piping system to avoid storing drones in the Apiary, but the apiary filled up fairly quick and I soon started to get the overflow drones flowing. It didn't delay me enough to care about.
 

Roachy

New Member
Jul 29, 2019
44
0
0
Yes for now I've got all potentially non-pure drones going to an apiarists pipe and the end of the chain of apiaries and they get divided evenly between a chest and my genepool setup. This way I can at least have a some of the inevitably-resulting pure drones on hand to manually refill the source apiary. But I feel like a better design is in order. It's something I haven't seen anyone do without Misc Periphs as of yet and I'd like to figure something out. The ability to easily sort full-genome-specific bees would be a very handy technique.

I could do something similar to the source apiary as well but with the nature of pipes there's no guarantee that drones wouldn't eventually run out. I really wish there was a pipe that would send items different ways in a round robin style rather than randomly.

Emerald pipes only pull different items in round robin and that has no effect on their direction. I could hook up two wooden pipes to the source apiary and since they are working in tandem one of them would naturally grab at least one drone and send it back in before the other could grab them all, but that could potentially be foiled by the existence of other items like combs.

Tubes with equal-distance output lines would works similarly to pipes in that the direction would be random.
 

Roachy

New Member
Jul 29, 2019
44
0
0
Actually I just realized I could combine the emerald pipe and double wooden pipe idea. I could have one emerald pipe set to only pull drones (assuming it doesn't choke on the drone's metadata somehow), and another wooden pipe that pulls everything. Then when the queen's cycle is done both pipes would pull an item. The emerald one would be guaranteed to pull a drone, which it can send back in. The wooden pipe would pull everything else. With gates, I might even be able to delay the emerald pipe enough so that it only has time to pull one drone before the other pipe empties the rest of the items.

Time for testing!
 

Roachy

New Member
Jul 29, 2019
44
0
0
Well, it sort of works... The wood and emerald pipes in this pic work as I surmised in the above post. Guaranteeing that at least one drone makes it back into the source apiary. The only problem is that I couldn't get the emerald pipe to guarantee exactly one drone. Even with the gate set to "If pipe emtpy, then energy pulse" it still sometimes pulls two, even though the pipe should technically stop pulling once the first item is inside it. Apparently it doesn't realize this fast enough before it tries to pull another. This could eventually cause drones to hit the ground once the apiary is full.

I could add another pipe in front of the router here, letting drones pass by the apiary if it's full, but that would ruin it all, as then drones would no longer be guaranteed to go to the apiary.

restockdrones.png
 

Roachy

New Member
Jul 29, 2019
44
0
0
Now I've tried about 20 variations on pipe arrangements and am still having trouble. The limitation seems to be the inability to pull a single item at a time using pipes. I even tried using a manager, but it's far too slow for this application. I could resort to some ugly redstone contraptions to turn on pipes and/or machines on and off but I loathe relying on finicky timing systems like that. Does anyone know of an elegant way to accomplish pulling a single item into a pipe?
 

SandGrainOne

New Member
Jul 29, 2019
129
0
1
I have a system that is storing the drones outside the Apiary so that 2 Apiaries can get drones from the same chest. I use it in a cloning system.
http://imgur.com/a/XrgfE

Probably not exactly what you are looking for, but it might trigger your imagination and ingenuity :)

Alternatively:
http://imgur.com/u0g5bND
This Alveary is simply a comb producer. In this case I don't care about the drones so I let them stack up. When the Alveary is full of drones I get the overflow. I don't have ExtraBees so the extra drones is recycled, but you could send them to various machines for processing.
 

Roachy

New Member
Jul 29, 2019
44
0
0
Interesting. That's exactly what I'm looking for actually. The piece of the puzzle I was missing is the pipe-longer-than-one-block problem. I still kind of have my heart set on figuring out a more logical and elegant way of doing this, that doesn't rely on quirks, but using this method I can at least get what I need in the meantime. Thanks for posting.
 

SandGrainOne

New Member
Jul 29, 2019
129
0
1
There is actually a new gate action for autarchic gates that will pulse once and only once instead of producing continuous pulses. You would need BC 3.6 or newer though, and that's Minecraft 1.5.2.
 

Roachy

New Member
Jul 29, 2019
44
0
0
That would be nice. But I doubt I'll ever update from 1.4.7 now that Redpower is lost :/