Splash Potion

Splash Potions are a variant of potions that can be thrown.

Brewing
Splash potions are brewed by adding gunpowder to a normal potion.

Usage
Splash potions are thrown by them. On impact they explode, applying status effects to nearby entities. The bottle is lost, unlike drinkable potions. Entities within an 8.25×8.25×4.25 cubiod centered on the thrown potion at impact and within 4 blocks euclidean distance of the thrown potion at impact are affected.

The farther away the entity is from the center of the explosion, the lesser the imbued effect. For effects without duration such as Healing or Harming, the potency of the effect reduces linearly from 100% on a direct hit to 0% at 4 blocks' distance. For effects with duration, the effect has full potency but the duration decreases linearly on the same scale (rounded to the nearest $1/20$ second), with no effect being applied if the duration would be 1 second or less.

Splash potions
Here is a full list of the names, effects, and damage values of splash potions. Note that the base duration of splash potion is always $3/4$ the duration of corresponding drinkable potion.

Base splash potions
Base splash potions have no effect when you throw them.

Trivia

 * Jeb has commented that while water splash bottles should logically harm endermen and blazes, its coding would be more difficult to implement than is worth while.
 * If endermen are targeted directly by a splash potion, they will teleport away before the potion can take effect. However, if they are caught in the splash radius of a potion not aimed at them, they will be affected.
 * If killed by a splash potion of harming, the death message would be: [player] was killed by magic