Shark

Sharks are hostile mobs that spawn in oceans.

Appearance
Sharks come in 9 different variants: a light grey, brown-striped variant (based on the tiger shark), an olive-grey variant with white fin tips (based on the oceanic whitetip shark), a blue variant (based on the blue shark), a grey variant (based on the bull shark), a brown-grey, purple-eyed, short-finned variant (based on the Greenland shark), a reddish-brown, flat-headed variant (based on the great hammerhead shark), a pale grey variant with a long nose and tail fin (based on the goblin shark), a dark grey variant (based on the great white shark), and a dark blue variant with white fins (based on the mako shark).

Behavior
Sharks will usually not attack players at first, and, when undisturbed, will swim around aimlessly in a similar manner to fish; however, if a player provokes them or is at a certain amount of health, they will attack. The amount of health at which sharks will attack without provocation varies within variants: When attacking, sharks will swim towards targets in an attempt to make contact with them; mako sharks can swim twice as fast as most other sharks, which swim slightly slower than a fast-swimming player. Upon reaching their target, they will grab them before thrashing them to death; most sharks deal 3 hearts (6 HP) of damage per second, while great hammerhead sharks deal 4.5 hearts (9 HP) of damage and great white sharks deal 6 hearts (12 HP) of damage. If their target is sitting in a boat, they will attempt to destroy the boat before attacking them.
 * Tiger sharks will attack the player when they are at 5 hearts (10 HP).
 * Oceanic whitetip sharks will attack the player when they are at 8 hearts (16 HP).
 * Blue sharks, Greenland sharks, great hammerhead sharks, and goblin sharks will attack the player when they are at 4 hearts (8 HP).
 * Bull sharks, great white sharks, and mako sharks will attack the player when they are at 6.5 hearts (13 HP).

In addition to attacking players that are at certain amounts of health, sharks will also occasionally prey on any mob that enters the water, with the exception of bobbit worms and other sharks. This behavior is influenced by how hungry they are.

If a shark gets beached on land, it will start suffocating after 20 seconds. While on land, sharks will not move, and will stay in place until they die.

History

 * 7.0.0:
 * Introduced.
 * 7.1.0:
 * Added new animations.
 * Now rotates up or down when surfacing or diving.
 * 7.1.1:
 * Now retaliates against attackers.
 * Now has a limit on the size of entities it can grab.
 * 8.1.0:
 * Now has improved animations.
 * AI has been improved, and can now pathfind (1.14+ only).
 * 8.2.0:
 * Movement speed is now faster (1.14+ only).
 * 9.0.0:
 * Now has a new Greenland shark variant.
 * Now has improved animations.
 * 10.0.0:
 * All variants except the bull shark variant have new models.
 * Now has new great hammerhead shark, goblin shark, great white shark, and mako shark variants.
 * Now persists in worlds on Peaceful difficulty, but becomes passive.
 * 10.1.0:
 * Predation of other mobs is now determined by a newly-added hunger mechanic.
 * Mobs killed by sharks no longer drop items.

Trivia

 * When spawned on land, sharks will momentarily rotate downward so that their caudal fin sticks upwards at an oblique angle, making it appear as if they were tossed into the ground head-first.
 * As of now, sharks are one of the few mobs in the mod to have variants that drastically vary in appearance (most variants have their own model), alongside jellyfish, eels, and whales.
 * Sharks are one of the few mobs in the mod to vary in size, alongside jellyfish, songbirds, eels, whales, butterflies, and dragonflies.
 * Sharks are one of the few mobs in the mod that can prevent their targets from dropping items, alongside lampreys, barracudas, piranhas, and octopuses.
 * As sharks can neither be caught in a bucket nor tamed, they are the only mob in the mod that can prevent their targets from dropping items at all times.
 * Great white and mako sharks have potential to be very dangerous when encountered early in the game, due to their relatively low aggression threshold as well as the former's high durability and powerful attacks and the latter's swift swimming speed.