Pig Tractors

From Gamemode 4
Jump to navigation Jump to search
Pig Tractors
Pig tractors.png
--------------------
Module TypeStand Alone
Created byBloo
Last Updated byFederick90
Compatible MC Versions1.8, 1.13+

This module allows players on pigs to quickly till dirt, or harvest and plant crops in a single pass.

Features[edit | edit source]

Any saddled pig can be used as a Pig Tractor. The player must have a hoe somewhere in their inventory while riding the pig to activate the features.

The module has the following features (runs in this order):

  • Breaks carrots, wheat, beetroot, netherwart and potatoes that are driven through and puts them in the player's inventory
  • Tills dirt that is driven over
  • Plants wheat seeds, nether wart, carrots, beetroot seeds, and potatoes if the player drives over tilled soil (or soul sand for nether wart) with nothing growing in it yet.

Crops are only planted automatically if the player has seeds, carrots, beetroot seeds, netherwart, or potatoes in their inventory. Every crop planted will remove one of that crop from the player's inventory. If the player breaks a crop with a Pig Tractor, the same crop will be planted at that location.

When running over empty farmland, Pig Tractors will prioritize planting the item the player is holding first, then the item in the offhand, before checking the rest of the inventory.

Technical Details[edit | edit source]

If a player is not holding a crop type in their main or off hand and has multiple crop types in their
inventory while planting crops on empty farmland, then crops will take priority in the following order:
Carrots
Potatoes
Beetroot Seeds
Wheat Seeds

Advancements[edit | edit source]

Advancement Requirement
Oink Tractors
Ride a pig with a hoe to make it a functional tractor!
Have a hoe in your inventory while riding a saddled pig.

Learn More and Download[edit | edit source]

YouTube Logo.svg Watch on YouTube Gm4 logo.svg Download

History[edit | edit source]

Version Date Change
1.8 17 Oct 2015 Released Pig Tractors
1.13 27 Dec 2018 Updated for 1.13 data packs
Added "Oink Tractors" advancement
04 Apr 2019 Nether Wart now works with pig tractors

Previous Versions[edit | edit source]

MC 1.8 Version[edit | edit source]

In the MC 1.8 Version, nether wart and beetroot could not be planted whilst on a pig tractor.