TreeBot is a minecraft bot written for advanced macros mod v9.2.0 that auto harvests and replants trees.
- Trees should be in a retangular grid of any size, with (ideally 4 but can be different) blocks of air in between every sappling.
- east-west walkways should make it so the player can walk between every tree.
- north-south walkways should allow the player to walk between the west most and east most trees in your tree farm, so the bot can change east-west rows after completing a row.
- A water collection system should be put under the walkways. Allowing for the collection of sapplings and logs that the bot will drop into the water.
-
In
harvestTrees.lua
assign arguments to thetreeBot.harvestTrees(Xtrees,Ztrees, Xspacing,Zspacing)
function call.Xtrees
being the number of trees east-westZtrees
being the number of trees north-southXspacing
being the number of east-west air blocks between each tree.Zspacing
being the number of north-south air blocks between each tree.
-
Make sure your inventory contains a diamond axe with over 50 durability, food, and enough birch or oak sapplings to replant all the trees in your farm.
-
Stand 3 blocks west from the south-west most tree in your farm.
-
Run
harvestTrees.lua