{{distinguish|MCD:Pig}}
{{Wipdungeons|
* Due to serious bone misplacement, Piggy Bank's renders and animations still need improvement.
}}
{{Infobox Dungeons entity
|title=Piggy Bank 
|image=Piggy Bank Idle.gif
|behavior=Passive
|health=500
|classification=[[MCD:Animal|Animal]]
}}

A '''piggy bank''', also known as a '''loot pig''', is a rare [[MCD:Mob#Passive|passive mob]] that can be found within the various {{MCD|mission}}s of ''[[Minecraft Dungeons]]''. If attacked by a hero, they drop [[MCD:Emerald|emeralds]] and various loot.

== Appearance ==
[[File:Piggy Bank Idle.gif|upright=0.4|thumb|Piggy bank|100px]]
A piggy bank is a [[MCD:Pig|pig]] that possesses wider eyes and its pupils are in the middle. It carries a [[MCD:Chest|fancy chest]] on its back attached via a strap. Piggy banks have the same eye shape as [[MCD:Enderman|Endermen]].

== Spawning ==
* {{DuLevelLink|Creeper Woods}}
* {{DuLevelLink|Creepy Crypt}}
* {{DuLevelLink|Woodland Mansion}}
* {{DuLevelLink|Woodland Prison}}
* {{DuLevelLink|Soggy Swamp}}
* {{DuLevelLink|Pumpkin Pastures}}
* {{DuLevelLink|Cacti Canyon}}
* {{DuLevelLink|Spider Cave}}
* {{DuLevelLink|Redstone Mines}}
* {{DuLevelLink|Fiery Forge}}
* {{DuLevelLink|Desert Temple}}
* {{DuLevelLink|Lower Temple}}
* {{DuLevelLink|Highblock Halls}}
* {{DuLevelLink|Underhalls}}
* {{DuLevelLink|Obsidian Pinnacle}}
* {{DuLevelLink|Dingy Jungle}}
* {{DuLevelLink|Panda Plateau}}
* {{DuLevelLink|Overgrown Temple}}
* {{DuLevelLink|Frosted Fjord}}
* {{DuLevelLink|Lone Fortress}}
* {{DuLevelLink|Lost Settlement}}
* {{DuLevelLink|Windswept Peaks}}
* {{DuLevelLink|Gale Sanctum}}
* {{DuLevelLink|Gauntlet of Gales}}
* {{DuLevelLink|Colossal Rampart}}
* {{DuLevelLink|Nether Wastes}}
* {{DuLevelLink|Basalt Deltas}}
* {{DuLevelLink|Nether Fortress}}
* {{DuLevelLink|Warped Forest}}
* {{DuLevelLink|Crimson Forest}}
* {{DuLevelLink|Gold Room}}
* {{DuLevelLink|Soul Sand Valley}}
* {{DuLevelLink|Abyssal Monument}} ([[MCD:Secret|Secret area]])
* {{DuLevelLink|The Stronghold}}
* {{DuLevelLink|End Wilds}}
* {{DuLevelLink|Broken Citadel}}
* {{DuLevelLink|Tower}}

== Behavior ==
[[File:Piggy Bank Walk.gif|upright=0.4|thumb|Piggy bank walk]]
A piggy bank, when it appears, stands still, looking somewhat cautiously for heroes and mobs, while wobbling under the pressure of the chest. When a piggy bank is hit by a hero, it widens its eye, then drops emeralds and is stunned for a short time. If the hero successfully kills it, it drops more loot. If left alone on screen for long enough, however, it eventually disappears along with the chest, without dropping loot.

;Alerted
[[File:Piggy Bank Alerted.gif|upright=0.4|thumb|Piggy bank alerted]]
When the hero gets close to a piggy bank, it would try to flee.

== Drops ==
These drops appear only when a piggy bank is hit or killed by a hero.
* 100% drop an {{DuMiscLink|Armor}}, {{DuMiscLink|Melee|link=Weapon|Melee Weapon}} or {{DuMiscLink|Ranged|link=Weapon|Ranged Weapon}}.
* 20% drop an {{DuMiscLink|Artifact}}.
* Drops several emeralds each time hit by hero.
** Default total value: 8~16 {{DuItemLink|Emerald}} (excluding Apocalypse difficulty)
* 100% drop 2 [[MCD:Consumable|consumable item]]: [[MCD:Food|food]]s, [[MCD:Potion|potion]]s, [[MCD:Quiver#Arrow Bundle|arrow bundle]]s or [[MCD:TNT|TNT]].

== Sounds ==
{{SoundTable
| type = dungeons
| {{SoundLine
|sound=Sfx mob piggybankJump-001 soundWave.ogg
|sound2=Sfx mob piggybankJump-002 soundWave.ogg
|description=Jump/Hurt
|id=sfx_mob_piggybankJump_soundWave
|type=dungeons
}}
| {{SoundLine
|sound=Sfx mob piggybankRun-001 soundWave.ogg
|sound2=Sfx mob piggybankRun-002 soundWave.ogg
|sound3=Sfx mob piggybankRun-003 soundWave.ogg
|sound4=Sfx mob piggybankRun-004 soundWave.ogg
|sound5=Sfx mob piggybankRun-005 soundWave.ogg
|description=Run/Hurt
|id=sfx_mob_piggybankRun_soundWave
|type=dungeons
}}
| {{SoundLine
|sound=sfx_mob_pigDeath-001_soundWave.ogg
|description=Death
|id=sfx_mob_pigDeath_soundWave
|type=dungeons
}}
| {{SoundLine
|sound=sfx_mob_pigIdle-001_soundWave.ogg
|sound2=sfx_mob_pigIdle-002_soundWave.ogg
|sound3=sfx_mob_pigIdle-003_soundWave.ogg
|description=Idle/Hurt
|id=sfx_mob_pigIdle_soundWave
|type=dungeons
}}
| {{SoundLine
|sound=sfx_mob_pigKneeShake-001_soundWave.ogg
|sound2=sfx_mob_pigKneeShake-002_soundWave.ogg
|sound3=sfx_mob_pigKneeShake-003_soundWave.ogg
|sound4=sfx_mob_pigKneeShake-004_soundWave.ogg
|description=Knee Shake
|id=sfx_mob_pigKneeShake_soundWave
|type=dungeons
}}
| {{SoundLine
|sound=sfx_mob_pigStep-001_soundWave.ogg
|sound2=sfx_mob_pigStep-002_soundWave.ogg
|sound3=sfx_mob_pigStep-003_soundWave.ogg
|sound4=sfx_mob_pigStep-004_soundWave.ogg
|sound5=sfx_mob_pigStep-005_soundWave.ogg
|description=Step
|id=sfx_mob_pigStep_soundWave
}}
}}

== Achievements==
{{Load DungeonsAchievements|Blast Radius;Break the Spell;Diamond Sword;Wooden Sword;Passive Aggressive;Chill Out;Bubble Trouble;Seafood Skewer}}

== Quotes ==
{{Quote|'''PIGGY BANK''' – This unfortunate creature has somehow acquired a chest full of treasure. Now it is a target for heroes such as yourself, who must hit it repeatedly to retrieve the contents. Naturally, the pig will run away as quickly as its short legs can carry it.|''Guide to Minecraft Dungeons:<br>A Handbook for Heroes''}}

== History ==
{{HistoryTable
|{{HistoryLine|dungeons}}
|{{HistoryLine||Dungeons Beta|[[File:Piggy Bank.png|32px]]Added piggy banks.}}
}}

== Data values ==
* In the game files, piggy banks are referred to internally by the name <code>PiggyBank</code>.
* Push multiplier:0.6
* Flee duration:10 seconds
* Flee distance: 58 blocks
* Max speed: 7.5 blocks per second

== Trivia ==
* The [[MCD:Love Medallion|Love Medallion]] can be used on them, but they drop the loot ten seconds after they are defeated.
* If the hero puts the enemy outline setting on to a Color other than white, (e.g. gold) the piggy banks outline shows the enemy outline color.

== Issues ==
{{issue list}}

== See Also ==
* {{DuMiscLink|Chest}}
* {{DuEntityLink|Pig}}

== Gallery ==
=== Renders ===
<gallery>
Piggy Bank.png|Piggy bank
Piggy Bank T Pose.png|Piggy bank T-Pose
Piggy Bank Alerted.png|Piggy bank alerted
</gallery>

=== Animations ===
<gallery>
Piggy Bank Idle.gif|Piggy bank idle
Piggy Bank Walk.gif|Piggy bank walk
Piggy Bank Alerted.gif|Piggy bank alerted
</gallery>

=== Textures ===
<gallery class="pixel-image">
File:T PiggyBank.png|Piggy bank texture file.
File:T PiggyBank S.png|Piggy bank shadow texture.
</gallery>

=== Screenshots ===
<gallery>
Minecraft Dungeons 3 20 2021 6 49 01 PM.png|A piggy bank shown in gameplay.
</gallery>

=== Development media ===
<gallery>
Piggy Bank original design.png|An early concept model of the piggy bank showed that it had a [[MCD:Chest|chest]] inside.
Piggy Bank original design.gif|An animated version of an early piggy bank to show how it would have looked in game.<ref>{{tweet|dungeonsgame|1352284851706224642|A thing of beauty? Tonight’s nightmare? A missed artistic opportunity?<br><br>On the spectrum of ‘aww’ to ‘ugh’, where do you stand on this early version of the Piggy Bank – your favourite fortune-filled fleeing farm animal?!|January 21, 2021}}</ref>
</gallery>

=== In other media ===
<gallery>
LEGO Piggy Bank.png|[[Lego Minecraft|LEGO]] piggy bank.
</gallery>

== References ==
{{reflist}}

== Navigation ==
{{Navbox Dungeons entities}}

[[Category:Minecraft Dungeons animal mobs]]

[[de:Minecraft Dungeons:Sparschwein]]
[[es:Dungeons:Hucha de cerdito]]
[[fr:Minecraft Dungeons:Cochon-tirelire]]
[[ja:Minecraft Dungeons:宝箱を背負ったブタ]]
[[pt:Minecraft Dungeons:Cofre de Porquinho]]
[[ru:Minecraft Dungeons:Свинья-копилка]]
[[zh:Minecraft Dungeons:宝箱猪]]
