This datapack depends on: DrakonCore
Pig Tractors are a new use for Pigs, allowing them to be turned into useful farming animals. Create Pig Tractors by throwing a hoe item at a saddled Pig, which consumes the hoe and displays a confirmation message. Riding the Pig prompts the user to hold a Carrot on a Stick in their main hand to activate the Pig Tractor.
The Pig Tractor destroys tall grass and other flora it moves over when activated, and also tills Dirt into fertile farmland, regardless of whether there is a water source nearby. In addition, it harvests any fully grown crops it walks over, teleporting the items into the player's inventory. If its rider holds any seeds in their offhand, it will also attempt to plant the seeds on empty farmland it passes over. Tractors can be very useful for efficiently farming crops or creating cropfields!