Pig Tractors: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Tilling Loot Table)
m (Minor edits for clarity)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Pig Tractors|icon=pig_tractors.png|creator=Bloo|type=Stand Alone|versions=1.8, 1.13+|updater=Bloo}}
{{ModuleInfobox
  | name = Pig Tractors
  | creator = Bloo
  | type = Stand Alone
  | versions = 1.8, 1.13+
}}


This module allows players on pigs to quickly till dirt, or harvest and plant crops in a single pass.
This module allows players on pigs to quickly till dirt, or harvest and plant crops in a single pass.
Line 5: Line 10:
== Features ==
== Features ==


=== How to use ===
=== General ===
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.  
Any saddled pig is a Pig Tractor, and can be steered with a Carrot on a Stick. Riding over fully grown crops will harvest them, and replant with available seeds. Holding a hoe of any kind in will till soil below the Pig Tractor, making the creation and harvesting of large fields much faster.  


==== Tilling ====
==== 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 main- or offhand. Tilling soil has a chance to drop loot depending on the block tilled and produces a fully moisturized block of farmland.
A Pig Tractor can till grass blocks, dirt or coarse dirt. To use this feature, the player on the Pig Tractor '''must hold a hoe''' in their mainhand or offhand. Tilling soil also has a chance to extract loot items depending on the block tilled and produces a fully moisturized block of farmland.
{| class="wikitable"
 
|+Item Drops from tilling soil
!
{| class="wikitable"
{| class="wikitable"
|+Grass Block
|+ Item Drops from Tilling Soil
!Item
! colspan="5" | {{Stack|Grass Block}} Grass Block
!Drop Chance
! rowspan="7" |
! colspan="2" | {{Stack|Coarse Dirt}} Coarse Dirt
! rowspan="7" |
! colspan="2" | {{Stack|Dirt}} Dirt
|-
|-
|Brown Mushroom
! Item
|8.77%
! Drop Chance
! rowspan="6" |
! Item
! Drop Chance
! Item
! Drop Chance
! Item
! Drop Chance
|-
|-
|Red Mushroom
|{{Stack|Brown Mushroom}} Brown Mushroom
|1.46%
|7.60%
|{{Stack|Carrot}} Carrot
|0.35%
|{{Stack|Gravel}} Gravel
|8.45%
|{{Stack|Brown Mushroom}} Brown Mushroom
|5.29%
|-
|-
|Bone
|{{Stack|Red Mushroom}} Red Mushroom
|1.46%
|1.46%
|-
|{{Stack|Beetroot}}Beetroot
|Potato
|0.35%
|0.15%
|{{Stack|Clay Ball}} Clay Ball (1-4)
|-
|Poisonous Potato
|0.15%
|-
|Carrot
|0.15%
|-
|Golden Carrot
|0.09%
|-
|Golden Apple
|0.06%
|}
!
{| class="wikitable"
|+Coarse Dirt
!Item
!Drop Chance
|-
|Gravel
|8.45%
|-
|Clay
|5.63%
|5.63%
|{{Stack|Red Mushroom}} Red Mushroom
|3.24%
|-
|-
|Bone
|{{Stack|Bone}} Bone
|1.46%
|{{Stack|Golden Carrot}} Golden Carrot
|0.23%
|{{Stack|Bone}} Bone
|1.41%
|1.41%
|}
|{{Stack|Bone}} Bone
!
|3.24%
{| class="wikitable"
|+Dirt
!Item
!Drop Chance
|-
|-
|Brown Mushroom
|{{Stack|Potato}} Potato
|5.88%
|0.35%
|{{Stack|Golden Apple}} Golden Apple
|0.12%
! colspan="2" rowspan="2" |
! colspan="2" rowspan="2" |
|-
|-
|Red Mushroom
|{{Stack|Poisonous Potato}} Poisonous Potato
|2.94%
|0.35%
|-
! colspan="2" |
|Bone
|2.94%
|}
|}
|}


==== Harvesting ====
==== 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).
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 ====
==== Planting ====
Line 81: Line 80:


=== Technical Details ===
=== 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:
{| class="mw-collapsible mw-collapsed"
{| class="mw-collapsible mw-collapsed"
|+ class="nowrap" style="text-align:left; " | If a player is not holding a crop type in their main or off hand and has multiple crop types in their<br>inventory while planting crops on empty farmland, then crops will take priority in alphabetical order based on their item id:
|
|{{Stack|Carrot}}Beetroot Seeds
|-
|-
|{{Stack|Potato}} Carrots
|{{Stack|Beetroot Seeds}} Beetroot Seeds
|-
|-
|{{Stack|Beetroot Seeds}} Potatoes
|{{Stack|Carrot}} Carrots
|-
|{{Stack|Potato}} Potatoes
|-
|-
|{{Stack|Wheat Seeds}} Wheat Seeds
|{{Stack|Wheat Seeds}} Wheat Seeds
Line 116: Line 117:
|Released Pig Tractors
|Released Pig Tractors
|-
|-
| rowspan="3" | 1.13
| rowspan="4" | 1.13
| rowspan="2" | 27 Dec 2018
| rowspan="3" | 27 Dec 2018
|Updated for 1.13 data packs
|Updated for 1.13 data packs
|-
|-
|Added "Oink Tractors" advancement
|Added "Oink Tractors" advancement
|-
|Added beetroot planting
|-
|-
|04 Apr 2019
|04 Apr 2019
|Nether Wart now works with pig tractors
|Added nether wart planting when a Pig Tractor walks over soul sand
|-
| rowspan="4" |1.16
| rowspan="4" |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
|-
|-
|1.16.5
|Order of crops taken from the inventory is now sorted alphabetically instead of an arbitrary order
|23 Apr 2020
|Rewrote Pig Tractors to be based on modern mcfunction standards
Added loot to tilling
 
Ground only gets tilled when the player is holding a hoe
|}
|}
==Previous Versions==
=== MC 1.8 Version ===
In the MC 1.8 Version, nether wart and beetroot could not be planted whilst on a pig tractor.


[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Stand Alone Modules]]
[[Category:Stand Alone Modules]]

Latest revision as of 04:59, 26 September 2021

Pig Tractors

Module TypeStand Alone
Created byBloo
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

General

Any saddled pig is a Pig Tractor, and can be steered with a Carrot on a Stick. Riding over fully grown crops will harvest them, and replant with available seeds. Holding a hoe of any kind in will till soil below the Pig Tractor, making the creation and harvesting of large fields much faster.

Tilling

A Pig Tractor can till grass blocks, dirt or coarse dirt. To use this feature, the player on the Pig Tractor must hold a hoe in their mainhand or offhand. Tilling soil also has a chance to extract loot items depending on the block tilled and produces a fully moisturized block of farmland.

Item Drops from Tilling Soil
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

Watch on YouTube 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