Difference between revisions of "Pig"

From Mine Blocks Wiki
Jump to navigation Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!

m
m
 
(9 intermediate revisions by 7 users not shown)
Line 3: Line 3:
 
|name=Pig
 
|name=Pig
 
|type=Passive
 
|type=Passive
|drops= [[Raw porkchop]], [[Raw bacon]](when not on fire), [[Cooked porkchop]], [[Cooked bacon]] (when on fire)
+
|drops= [[Raw porkchop]]<br>[[Raw bacon]]
 +
|id= pig
 
}}
 
}}
  
A pig is a commonly found passive mob.
+
The [[pig]] is a passive mob commonly found in the overworld.
 +
 
 +
This mob has {{Health|10}} health and will drop {{I|Raw Porkchop}} [[raw porkchop]] and {{I|Raw bacon}} [[raw bacon]] when killed
  
 
== Spawning ==
 
== Spawning ==
The pig only spawns in the [[Times of day|day time]] on [[grass]] blocks.
+
The pig can spawn in well lit areas only on [[grass]]/[[dirt]] blocks.
  
== Drops ==
+
=== Commands ===
When the pig is killed, it drops 0-2 [[raw porkchop]]s, along with 0-2 [[raw bacon]]. If it dies while on [[fire]], it drops 0-2 [[cooked porkchop]]s and 0-2 [[cooked bacon]].
+
A pig can be spawned using the summon command: <code>/summon pig</code>.
 +
 
 +
[[Data tags]] can be specified to customize the pig. Here are example:
  
== Behavior ==
+
*<code>/summon pig 1 ~ ~ {name:"Thief Pig", health:5, defaultDrops:false, drops:[{item:{id:"gold_ingot", name:"Cash"}, quantity:6, bonus:2}]</code>
The pig will wonder around aimlessly, avoiding hazards in its direction. It can jump up to two blocks high.
 
  
The pig is not hostile, so it will not attack, even if it has been hit. If hit, it will run back and forth for a couple of seconds, like other passive mobs.
+
*<code>/summon pig 1 ~ ~ {health:20, baby:5, defaultDrops:false, drops:[{item:{id:"carrot"}, isBaby:1}]}}</code>
  
If a pig is struck by lightning, it turns into a [[zombie pigman]].
+
== Drops ==
  
The pig can be made rideable for the player by placing a [[saddle]] on its back. While riding the pig, the player can control the pig's movement using a [[carrot on a stick]], however this is limited to sideways movement, as the pig will jump randomly by itself, and if the player presses the jump button they will dismount from the pig. If the player sneaks, the pig will stop, however otherwise it just keeps going in the direction it was going in before, not avoiding any drops. As the pig moves, the durability of the carrot on a stick goes down.
+
When killed, they may drop {{I|Raw Porkchop}} [[raw porkchop]]s and {{I|Raw bacon}} [[raw bacon]].
  
== Tasks ==
+
{| class="wikitable" style="text-align: center; width: 40%;"
{| class="wikitable" width=100%
+
|-
! style="width:5%;"| '''#'''
+
! Loot !! Quantity !! Looting I !! Looting II !! Looting III
! style="width:40%:"|'''Task'''
 
! style="width:40%:"|'''Objective'''
 
! style="width:15%:"|<center>'''Needs'''</center>
 
 
|-
 
|-
|'''13'''
+
| {{I-slot|name=Cooked Porkchop}} || 0-2 || 0-2 || 0-3 || 1-4
|Slay a Pig.
 
|Kill a pig.
 
|None
 
|}
 
 
 
== History ==
 
{| class="wikitable"
 
 
|-
 
|-
!Version
+
| {{I-slot|name=Raw Porkchop}} || 0-2 || 0-2 || 0-3 || 1-4
!Date
 
!Changes
 
 
|-
 
|-
! [[Version History#1.6|1.6]]
+
| {{I-slot|name=Cooked Bacon}} || 0-2 || 0-2 || 0-3 || 0-3
!Jul 20, 2011
 
|
 
*Added pig
 
:* Drops raw porkchop
 
 
|-
 
|-
! [[Version History#1.26|1.26]]
+
| {{I-slot|name=Raw Bacon}} || 0-2 || 0-2 || 0-3 || 0-3
! May 31, 2014
 
|
 
*Fixed bug where the player gets stuck and levitates off of a pig
 
*A saddled pig is more obedient when ridden with a carrot on a stick
 
 
|-
 
|-
! [[Version History#1.27|1.27]]
+
| {{I-slot|name=Experience_orb_2|Experience Orb}} || 4 || || ||
! Nov 13, 2015
 
|  
 
*Sneaking while riding a pig will stop the pig
 
 
|-
 
|-
! [[Version History#1.28|1.28]]
+
| colspan="5" style="background-color: #ffdddd; font-weight: bold;" | Note: Cooked meats can be obtained if the pig is on fire.
! Oct 8, 2016
 
|  
 
*Pigs turn into zombie pigmen when struck by lightning.
 
 
|}
 
|}
  
== Bugs ==
+
== Behavior ==
* 1.28 - Using a carrot on a stick while riding a pig does not deplete its durability.
+
The pig will wander around, avoiding cliffs. It can jump up to two blocks high.
 +
 
 +
The pig is not [[mobs|hostile]], so it will not attack even when hit. If hit, it will panic, running back and forth for a couple of seconds, like other passive mobs.
 +
 
 +
If a pig is struck by [[lightning]], it turns into a {{I|Zombie_Pigman_Head}} [[zombie pigman]].
 +
 
 +
The pig can be ridden by the [[player]] after placing a [[saddle]] on its back. While riding the pig, the player can control the pig's movement by holding a {{I|Carrot_on_a_Stick}} [[carrot on a stick]]. If the player presses the jump button, they will dismount from the pig. If the player sneaks, the pig will stop, otherwise it just keeps going in the direction the player is facing, not avoiding any drops. The durability of the carrot on a stick decreases as the pig moves.
 +
 
 +
== Tasks ==
 +
{{Tasks|13=}}
 +
 
 +
== History ==
 +
{{HistoryTable
 +
| [[First 30 days#|First 30 Days]]
 +
| Day 28
 +
|* Added pig
 +
| [[First 30 days#|First 30 Days]]
 +
| Day 29
 +
|* Fixed pig height issue
 +
| [[Version History#1.22.0|1.22.0]]
 +
| Jun 29, 2012
 +
|* Updated pig textures
 +
| [[Version History#1.26.0|1.26.0]]
 +
| Mar 28, 2014
 +
|
 +
* A saddled pig is more obedient when ridden with a carrot on a stick
 +
* Fixed bug where the player gets stuck and levitates off of a pig or raft
 +
| [[Version History#1.27|1.27]]
 +
| Nov 13, 2015
 +
|* Sneaking while riding a pig will stop the pig
 +
| [[Version History#1.28|1.28]]
 +
| Oct 08, 2016
 +
|* Pigs turn to zombie pigmen when struck by lightning
 +
}}
  
 
== Trivia ==
 
== Trivia ==
*If a pig is struck by lightning, it will turn into a [[zombie pigman]].
+
* While on a saddled pig, if a [[fishing rod]] is used downwards in rapid succession, the player can levitate with a pig. Additionally, if a pig jumps while a fishing rod is used, it will start flying in the direction opposite of the mouse pointer's location. Easily done against a wall.
  
 
== Gallery ==
 
== Gallery ==
 
<gallery>
 
<gallery>
 
Pig Egg.png|A pig's egg used for spawning pigs in creative mode.
 
Pig Egg.png|A pig's egg used for spawning pigs in creative mode.
pig2.jpeg|A pig found in the wild.
 
pig3.jpeg|A pig with a saddle attached on it.
 
 
Pig with Saddle.png|A pig with a [[saddle]].
 
Pig with Saddle.png|A pig with a [[saddle]].
 
</gallery>
 
</gallery>
  
== See Also ==
+
== See also ==
 
*[[Mobs]]
 
*[[Mobs]]
 
*[[Sheep]]
 
*[[Sheep]]

Latest revision as of 19:28, 16 August 2024





Pig
Pig.png
Type:Passive
Drops:Raw porkchop
Raw bacon
Identifier:pig

The pig is a passive mob commonly found in the overworld.

This mob has 10 (♥♥♥♥♥) health and will drop Raw Porkchop raw porkchop and Raw bacon raw bacon when killed

Spawning

The pig can spawn in well lit areas only on grass/dirt blocks.

Commands

A pig can be spawned using the summon command: /summon pig.

Data tags can be specified to customize the pig. Here are example:

  • /summon pig 1 ~ ~ {name:"Thief Pig", health:5, defaultDrops:false, drops:[{item:{id:"gold_ingot", name:"Cash"}, quantity:6, bonus:2}]
  • /summon pig 1 ~ ~ {health:20, baby:5, defaultDrops:false, drops:[{item:{id:"carrot"}, isBaby:1}]}}

Drops

When killed, they may drop Raw Porkchop raw porkchops and Raw bacon raw bacon.

Loot Quantity Looting I Looting II Looting III
Cooked Porkchop 0-2 0-2 0-3 1-4
Raw Porkchop 0-2 0-2 0-3 1-4
Cooked Bacon 0-2 0-2 0-3 0-3
Raw Bacon 0-2 0-2 0-3 0-3
Experience_orb_2 4
Note: Cooked meats can be obtained if the pig is on fire.

Behavior

The pig will wander around, avoiding cliffs. It can jump up to two blocks high.

The pig is not hostile, so it will not attack even when hit. If hit, it will panic, running back and forth for a couple of seconds, like other passive mobs.

If a pig is struck by lightning, it turns into a Zombie_Pigman_Head zombie pigman.

The pig can be ridden by the player after placing a saddle on its back. While riding the pig, the player can control the pig's movement by holding a Carrot_on_a_Stick carrot on a stick. If the player presses the jump button, they will dismount from the pig. If the player sneaks, the pig will stop, otherwise it just keeps going in the direction the player is facing, not avoiding any drops. The durability of the carrot on a stick decreases as the pig moves.

Tasks

Number Icon[ng] Name Newgrounds name Description [ng] Objective Points[ng] Requirements
13 Slay a pig Kill a Pig Pigs drop pork, and you eat pork to live Kill a pig 5

History

Version Date Changes
First 30 Days Day 28
  • Added pig
First 30 Days Day 29
  • Fixed pig height issue
1.22.0 Jun 29, 2012
  • Updated pig textures
1.26.0 Mar 28, 2014
  • A saddled pig is more obedient when ridden with a carrot on a stick
  • Fixed bug where the player gets stuck and levitates off of a pig or raft
1.27 Nov 13, 2015
  • Sneaking while riding a pig will stop the pig
1.28 Oct 08, 2016
  • Pigs turn to zombie pigmen when struck by lightning

Trivia

  • While on a saddled pig, if a fishing rod is used downwards in rapid succession, the player can levitate with a pig. Additionally, if a pig jumps while a fishing rod is used, it will start flying in the direction opposite of the mouse pointer's location. Easily done against a wall.

Gallery

See also