Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Gangsir

Simple Sugarcane Harvester

Recommended Posts

Heeeerrreee's Gangsiry! I've made a robot program to automatically harvest sugarcane.

 

The program can be found at my github, or wget fetched.

https://github.com/NoahNMorton/Gangsir_MC_LuaPrograms/blob/master/OpenComputers/SugarcaneHarvester.lua

wget https://raw.githubusercontent.com/NoahNMorton/Gangsir_MC_LuaPrograms/master/OpenComputers/SugarcaneHarvester.lua harvester.lua

To set it up, place 2 columns of sugarcane right next to each other, and set the robot down on top of a chest or similar container on the right column. The robot uses the blocks under it to determine how far to go, so make sure that the only solid block between the chest and the end of the sugarcane rows IS the chest. Also make sure that there is an air block at the end of the sugarcane rows, so it knows when to return to the chest/charger. Example image below.

 

Robot requirements:

Everything tier 1, however at least 1 inventory upgrade is needed.

Make sure to put a charger or perhaps a solar panel upgrade next to the robot/inside it.

 

Example image:

 

S6MavRl.png

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.