Jump to content




Turtles cannot harvest Natura berries


  • You cannot reply to this topic
8 replies to this topic

#1 Manadar

  • Members
  • 4 posts

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)


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 18 March 2014 - 12:22 AM

Have you tried turtle.place() with an empty slot selected?

#3 apemanzilla

  • Members
  • 1,421 posts

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.

#4 Manadar

  • Members
  • 4 posts

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/m...yBush.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.

#5 Manadar

  • Members
  • 4 posts

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.

#6 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

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.

#7 AlSweigart

  • Members
  • 3 posts

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.

#8 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 12 February 2016 - 10:03 AM

View PostAlSweigart, on 12 February 2016 - 02:59 AM, said:

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.computerc...hammer-turtles/

#9 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users