Pig Tractors
Module Type | Stand Alone |
---|---|
Created by | Bloo |
Last Updated by | Bloo |
Compatible MC Versions | 1.8, 1.13+ |
This module allows players on pigs to quickly till dirt, or harvest and plant crops in a single pass.
Features
How to use
Any saddled pig is considered a Pig Tractor. To steer the Pig Tractor a Carrot on a Stick may be used. Holding a hoe of any kind in the main- or offhand enabled the "Tilling" feature.
Tilling
A Pig Tractor can till grass blocks, dirt or coarse dirt. To enable this feature, the player on the Pig Tractor must hold a hoe in their mainhand or offhand. Tilling soil has a chance to drop loot depending on the block tilled and produces a fully moisturized block of farmland.
Grass Block | Coarse Dirt | Dirt | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Item | Drop Chance | Item | Drop Chance | Item | Drop Chance | Item | Drop Chance | |||
Brown Mushroom | 7.60% | Carrot | 0.35% | Gravel | 8.45% | Brown Mushroom | 5.29% | |||
Red Mushroom | 1.46% | Beetroot | 0.35% | Clay Ball (1-4) | 5.63% | Red Mushroom | 3.24% | |||
Bone | 1.46% | Golden Carrot | 0.23% | Bone | 1.41% | Bone | 3.24% | |||
Potato | 0.35% | Golden Apple | 0.12% | |||||||
Poisonous Potato | 0.35% |
Harvesting
Pig Tractors will automatically harvest crops when driven through. Upon harvesting, the Pig Tractor will try to replant the crop - provided the player has seeds for the crop in their inventory. If the player does not have seeds for the harvested crop type in their inventory the Pig Tractor will fall back to the default planting rules (see below).
Planting
When a Pig Tractor is driven over empty farmland it will try to plant crops from the player's inventory. Pig Tractor will prioritize seed-like items that are in the players mainhand over seed-like items that are in the offhand. If the player is not holding any seed-like item in their hands, the Pig Tractor will use seed-like items from the player's inventory instead.
Technical Details
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 alphabetical order based on their item id:
Beetroot Seeds |
Carrots |
Potatoes |
Wheat Seeds |
Advancements
Advancement | Requirement |
---|---|
Oink Tractors Till some ground by holding a hoe on a Pig Tractor! |
Use Pig Tractors' "tilling" feature. |
Learn More and Download
History
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 | ||
Added beetroot planting | ||
04 Apr 2019 | Added nether wart planting when a Pig Tractor walks over soul sand | |
1.16 | 23 Apr 2021 | Added loot from tilling dirt |
Player must now hold the hoe to till soil instead of having a hoe anywhere in the inventory | ||
Nether Wart can no longer be planted with Pig Tractors | ||
Order of crops taken from the inventory is now sorted alphabetically instead of an arbitrary order |