Pig
The pig is a passive mob commonly found in the overworld.
This mob has 10 () health and will drop
raw porkchop and
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 porkchops and
raw bacon.
Loot | Quantity | Looting I | Looting II | Looting III |
---|---|---|---|---|
![]() |
0-2 | 0-2 | 0-3 | 1-4 |
![]() |
0-2 | 0-2 | 0-3 | 1-4 |
![]() |
0-2 | 0-2 | 0-3 | 0-3 |
![]() |
0-2 | 0-2 | 0-3 | 0-3 |
![]() |
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.
The pig can be ridden by the player after placing a saddle saddle on its back. While riding the pig, the player can control the pig's movement by holding a 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 |
|
First 30 Days | Day 29 |
|
1.22.0 | Jun 29, 2012 |
|
1.26.0 | Mar 28, 2014 |
|
1.27 | Nov 13, 2015 |
|
1.28 | Oct 08, 2016 |
|
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
A pig with a saddle.