Jump to content

Recommended Posts

Posted

I'm trying to refine my slaughterhouse so that I don't generate the overcrowding that is the big problem with my existing setup. Currently 2 animals are kept in a 5x5 pen with access to a breeder. Once they breed the babies are moved to a 2nd pen. Here they grow up naturally before being slaughtered. The issue I'm having is that the growth process takes alot longer than the breeding process so inevitably I end up with an overcrowded growth pen. I'd like to be able to switch off the breeder when there are more than, for example, 5 mobs in the growth pen but I can't figure out a way to do it reliably.

Posted

I tried to think up an ad-hoc solution to this, and here's what I came up with:

There are 3 pens - one for breeding, one for children, and one for grown up children. There is a know amount of adults in the breeding pen, say 8. One round of breeding will therefore produce 4 children. These children will be transferred to a second pen, BUT! Behind the prototyper, there is a pressure plate. Once the animal is transferred to the other side, it triggers that pressure plate, which will activate a piston to push it off the plate (you can use cows, which are more than 1.5 blocks tall) and down into the second pen, which is 2 blocks below the pressure plate (so that cows cannot walk/jump back onto the plate).

Now, this same pressure plate is connected to either a PRC or a computer, which will have a counter of sorts. Once it counts to 4 (4 children have passed the system), it knows that all the adults in the first pen have bred and produced children. Thus, it sends a redstone signal to the Breeder, shutting it down.

The 4 children in the second pen eventually grow up, and get chronotyped into the third pen, with the exact same counting system. This system does the opposite of what the previous one does, and re-enables the Breeder once all 4 children have grown up, been transferred and slaughtered.

Posted

I'm not sure, but couldn't you use something like ComputerCraft and OpenCCSensors to detect how many animals there are, then turn the Breeder off once the count hits 5 or something?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...