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!

 
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.
+
A {{I|PigHead}} [[pig]] is a passive mob commonly found in the world of Mine Blocks wandering aimlessly.
 +
 
 +
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 only spawns in the [[Times of day|day time]] on {{I|Grass}} [[grass]] blocks.
 +
 
 +
=== Commands ===
 +
A pig can be spawned in another way besides its respective [[spawn egg]], with the command <code>/summon pig</code> you can spawn it.
 +
 
 +
In addition to that you can add [[data tags]] to customize the pig. examples:
 +
 
 +
*<code>/summon pig 1 ~ ~ {name:"Thief pig", Health:5, defaultDrops:0, drops:[{item:{id:"gold_ingot", name:"Cash"},quantity:6, bonus:2}]</code>
 +
 
 +
*<code>/summon pig 1 ~ ~ {health:20, baby:5, defaultDrops:0, drops:[{item:{id:"carrot"}, isBaby:1}]}}</code>
  
 
== Drops ==
 
== Drops ==
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]].
+
When killed, they drop 0-2 {{I|Raw Porkchop}} [[raw porkchop]]s (0-2 {{I|Cooked Porkchop}} [[Cooked porkchop]] if on fire) and 0-2 {{I|Raw bacon}} [[Raw bacon]] (0-2 {{I|Cooked bacon}} [[Cooked bacon]] if on fire).
 +
 
 +
It will also drop some {{I|Experience_orb_2}} experience points.
  
 
== Behavior ==
 
== Behavior ==
 
The pig will wonder around aimlessly, avoiding hazards in its direction. It can jump up to two blocks high.
 
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.
+
If a pig is struck by [[lightning]], it turns into a {{I|Zombie_Pigman_Head}} [[zombie pigman]].
 
 
If a pig is struck by lightning, it turns into a [[zombie pigman]].
 
  
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.
+
The pig can be made rideable for the {{I|Player_head}} [[player]] by placing a [[saddle]] on its back. While riding the pig, the player can control the pig's movement using a {{I|Carrot_on_a_Stick}} [[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.
  
 
== Tasks ==
 
== Tasks ==
{| class="wikitable" width=100%
+
{{Tasks|13=}}
! style="width:5%;"| '''#'''
 
! style="width:40%:"|'''Task'''
 
! style="width:40%:"|'''Objective'''
 
! style="width:15%:"|<center>'''Needs'''</center>
 
|-
 
|'''13'''
 
|Slay a Pig.
 
|Kill a pig.
 
|None
 
|}
 
  
 
== History ==
 
== History ==
{| class="wikitable"
+
{{HistoryTable
|-
+
| [[First 30 days#|First 30 Days]]
!Version
+
| Day 28
!Date
+
|* Added pig
!Changes
+
| [[First 30 days#|First 30 Days]]
|-
+
| Day 29
! [[Version History#1.6|1.6]]
+
|* Fixed pig height issue
!Jul 20, 2011
+
| [[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
 
|
 
|
*Added pig
+
* A saddled pig is more obedient when ridden with a carrot on a stick
:* Drops raw porkchop
+
* Fixed bug where the player gets stuck and levitates off of a pig or raft
|-
+
| [[Version History#1.27|1.27]]
! [[Version History#1.26|1.26]]
+
| Nov 13, 2015
! May 31, 2014
+
|* Sneaking while riding a pig will stop the pig
|
+
| [[Version History#1.28|1.28]]
*Fixed bug where the player gets stuck and levitates off of a pig
+
| Oct 08, 2016
*A saddled pig is more obedient when ridden with a carrot on a stick
+
|* Pigs turn to zombie pigmen when struck by lightning
|-
+
}}
! [[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 8, 2016
 
|  
 
*Pigs turn into zombie pigmen when struck by lightning.
 
|}
 
  
 
== Bugs ==
 
== Bugs ==
Line 72: Line 68:
 
== Trivia ==
 
== Trivia ==
 
*If a pig is struck by lightning, it will turn into a [[zombie pigman]].
 
*If a pig is struck by lightning, it will turn into a [[zombie pigman]].
 +
*The pig is not [[mobs|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.
  
 
== Gallery ==
 
== Gallery ==

Latest revision as of 10:53, 30 October 2023





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

A PigHead pig is a passive mob commonly found in the world of Mine Blocks wandering aimlessly.

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

Spawning

The pig only spawns in the day time on Grass grass blocks.

Commands

A pig can be spawned in another way besides its respective spawn egg, with the command /summon pig you can spawn it.

In addition to that you can add data tags to customize the pig. examples:

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

Drops

When killed, they drop 0-2 Raw Porkchop raw porkchops (0-2 Cooked Porkchop Cooked porkchop if on fire) and 0-2 Raw bacon Raw bacon (0-2 Cooked bacon Cooked bacon if on fire).

It will also drop some Experience_orb_2 experience points.

Behavior

The pig will wonder around aimlessly, avoiding hazards in its direction. It can jump up to two blocks high.

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

The pig can be made rideable for the Player_head 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 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.

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

Bugs

  • 1.28 - Using a carrot on a stick while riding a pig does not deplete its durability.
  • 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.

Trivia

  • If a pig is struck by lightning, it will turn into a zombie pigman.
  • 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.

Gallery

See also