Agricultural Automation [1.20 - 1.21]
This is an updated version of the Original Data Pack by Chewbarcus
Inspired by the Bonsai Tree Mod, this Datapack aims to bring the mod to Vanilla in a similar fashion using commands to automate tree/flower/shrub/cactus/bamboo farming. Simply place a hopper with an item frame on the side, a pot on the top of the hopper and then whatever you fancy farming into the pot. Next up, either place a Diamond Axe, Hoe or Sword (See pictures for help) into the item frame to being the process. Every 30 seconds you'll be rewarded with one of the drops from custom loot tables, you can even hook the hoppers up to a redstone circuit to turn this off as the Automation will only work on hoppers that are unpowered.
[Tools & Drops]
Diamond Axe:
Diamond Hoe:
Diamond Sword:
Simply pop this into your saves/[world]/datapacks folder and play!
Available On: