This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Manadar's profile picture

Turtles cannot harvest Natura berries

Started by Manadar, 17 March 2014 - 09:25 PM
Manadar #1
Posted 17 March 2014 - 10:25 PM
As a player, I want to be able to harvest my Natura berries using ComputerCraft turtles. This is currently not possible.

Steps for reproduction:
  • Place any Natura berry bush (for example, the blueberry bush)
  • Let the blueberry bush fully grow
  • Place a ComputerCraft farming turtle facing the blueberry bush
  • Right click the farming turtle to open its console.
  • Enter the command lua (ENTER)
  • Enter: turtle.dig() (ENTER)
The result is that the farming turtle will dig out the bush, destroying the berry in the process. The expected result is that the blueberry bush will be harvested by the farming turtle so that the turtle will have a single berry in its inventory and leaving the bush intact.

The command turtle.dig() or alternatively turtle.digDown() and turtle.digUp() when used on native Minecraft crops in combination with the farming turtle do work as expected. These can harvest wheat, carrots and possibly other crops.

I'm not sure whether this bug should be reported to Natura or ComputerCraft (or both) as I am unclear on the specifics of how ComputerCraft works in regards to farming and harvesting. Please advice. This issue on the Natura bug tracker is #110.

Tested in versions:
  • Minecraft version 1.6.4
  • Natura version 2.1.14 (Natura_mc1.6.X_2.1.14.jar)
  • ComputerCraft 1.58
  • Forge version 9.11.1.965 (forge-1.6.4-9.11.1.965-installer.jar)
Lyqyd #2
Posted 18 March 2014 - 12:22 AM
Have you tried turtle.place() with an empty slot selected?
apemanzilla #3
Posted 18 March 2014 - 12:39 PM
turtle.dig attempts to break the block, so it will destroy the bush. If you want to harvest it without breaking the bush, you have to right click. So use turtle.place, which attempts to right click the slot in whatever direction you specify.
Manadar #4
Posted 18 March 2014 - 08:22 PM
turtle.place() with an empty inventory slot selected has no effect. Screenshot: http://i.imgur.com/hfy9vTV.png Attempting turtle.place() with a blueberry (the harvesteable item) or the berry bush selected in its inventory does not work either.

Here's the relevant code in the Natura mod which implements a blueberry: https://github.com/mDiyo/Natura/blob/master/src/mods/natura/blocks/crops/BerryBush.java#L189 Perhaps if the necessary changes to Natura would be more clear, the changes can be made there.


Thanks for taking the time to reply.
Manadar #5
Posted 19 March 2014 - 08:05 PM
Since everyone is focused on the exciting upcoming 1.6pr5 release, I thought I'd chime in. I've tested the above issue with 1.6pr5, after removing openblocks due to a known crash on start problem, and verified the behavior is the same as I reported against the 1.58 version. Hope to be of service.
Cranium #6
Posted 24 March 2014 - 09:26 PM
Unfortunately, Natura doesn't use the same right click behaviour of other items. However, if you are using Natura with a modpack, chances are you also have Thaumcraft installed. Thaumcraft golems can harvest these bushes, but can't reach the third bush height limit.
Hopefully this can help in the meantime, but I for one would definitely like to see CC updated to allow this as well.
AlSweigart #7
Posted 12 February 2016 - 02:59 AM
Sorry to bump a two year old post, but I too would like to see this implemented. I had written a script to automate my berry farm thinking that dig() would do it, but that didn't seem to be the case.
Lupus590 #8
Posted 12 February 2016 - 10:03 AM
Sorry to bump a two year old post, but I too would like to see this implemented. I had written a script to automate my berry farm thinking that dig() would do it, but that didn't seem to be the case.

http://www.computercraft.info/forums2/index.php?/topic/25803-mc-171018189-knightperipherals-clicking-turtles-and-ex-nihilo-hammer-turtles/
Bomb Bloke #9
Posted 14 February 2016 - 07:12 AM
Come to think of it, to my memory the devs who implemented the bushes in the first place very specifically did not want automated systems to harvest them.