Piranha

Piranhas are hostile mobs that spawn in bodies of water in jungles.

Appearance
Piranhas are based on the red-bellied piranha, and are dark grey in color, with a red underside and pectoral fins, and a dark red anal fin.

Behavior
Piranhas are naturally hostile to players. When attacking, they will swim towards targets and deal 2 hearts (4 HP) of damage in addition to penetrating any kind of armor upon contact; they will turn any player they kill into a skeleton named after the slain player. When not attacking, they will swim around aimlessly in a similar manner to fish.

In addition to indiscriminately targeting players, piranhas will also occasionally prey on any mob that enters the water, with the exception of skeletons, skeleton horses, and other piranhas; any horses they kill will turn into skeleton horses. This behavior is influenced by how hungry they are.

Piranhas can be caught by using a water bucket on them; when this bucket is used on a block, it immediately empties, placing a source of water with the piranha inside of it.

If a piranha gets beached on land, it will start suffocating after 20 seconds. While on land, piranhas will flop around erratically in an attempt to get back into the water.

History

 * 10.0.0:
 * Introduced.
 * 10.1.0:
 * Predation of other mobs is now determined by a newly-added hunger mechanic.
 * Mobs killed by piranhas no longer drop items (unless said piranhas were placed with buckets).

Trivia

 * Piranhas are one of the few mobs in the mod that can prevent their targets from dropping items, alongside lampreys, sharks, barracudas, and octopuses. However, they will lose this ability upon being caught in a bucket.