From 445602b60dc7fa7ccc21fcde6fdabd028a4480cb Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Fri, 1 Dec 2023 11:57:33 -0600 Subject: [PATCH] Testing --- stoneblock-3-chicken-breeder/betterbreeder.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/stoneblock-3-chicken-breeder/betterbreeder.lua b/stoneblock-3-chicken-breeder/betterbreeder.lua index ec090ae..cdb0aba 100644 --- a/stoneblock-3-chicken-breeder/betterbreeder.lua +++ b/stoneblock-3-chicken-breeder/betterbreeder.lua @@ -1,18 +1,20 @@ -- See README for usage info -- https://git.desu.ltd/salt/mc-scripts/src/branch/master/stoneblock-3-chicken-breeder/README.md + +-- Breaks and replaces the breeder on top of the turtle +-- This is called after every generation function placeBreeder() print('Initializing breeder...') breeder = peripheral.wrap('top') - -- Why are we discarding slot 2? - -- Because, by design, it MUST be - -- the trash chicken from the last - -- generation. - breeder.pushItems('bottom', 2) + -- This ensures that we have the new generation chicken in slot 1 for i = 1, 16, 1 do turtle.select(i) turtle.suckUp() end turtle.digUp() + -- Why are we discarding slot 2? Because, by design, it MUST be the trash + -- chicken from the last generation. + breeder.pushItems('bottom', 2) selectItem('chickens:breeder') turtle.placeUp() selectItem('minecraft:wheat_seeds')