Bow

The bow is a weapon that can be crafted in Indev, Infdev, Alpha, and Beta.

Using the Bow
To use a bow, it must be the active item and there must be arrows somewhere in the player's inventory; they do not need to be on the action bar. Simply right-click to use the bow, which will shoot the arrows. Holding right-click will pull back the string and send the arrow flying faster/farther when released. Pulling the string back all the way releases an arrow with a sparkling effect, causing more damage. The Bow also shakes when fully charged -presumably from the tension of the bow- although it seems to not affect your aim. While the bow is being pulled back, the player will be forced to move at sneak speed.

It should be noted that the bow is very effective at killing powerful foes from afar, such as Ghasts, Skeletons, Creepers, Endermen, Spiders, Cave Spiders and Spider Jockey all of which either use ranged attacks, or are dangerous in close proximity.

It seems that an arrow will shoot slightly to the right of the crosshair in the center of your screen, and that they're affected by gravity and will shoot slightly downwards of the crosshair as well. Those differences are barely noticeable in close fights, but make a difference when shooting on long distances. To hit the target on long distance you'll have to aim a bit over it and to the left of it.

If you are trying to make a tamed wolf sit up with a Bow in your hand, plus arrows in your inventory, you will shoot the wolf.

2 fully charged arrows are able to kill any hostile mob,while 1 charged arrow kills a passive in one hit.

History
In Survival Test, the player did not need a bow to shoot arrows. Instead, the Tab key was used to fire arrows. However, arrows still had to be collected to shoot. Launching arrows this way was much slower than the bow now fires them. As of the Beta 1.2 update, bows are used in the dispenser block crafting recipe, presumably for propulsion/dispensing.

Before 1.8, the right mouse button could be held down to fire in rapid succession. Each arrow dealt for each hit. They would fly in a ballistic trajectory affected by gravity and drag in air or water and would travel approximately 15 blocks when fired parallel to a flat plane. Arrows also had a maximum range of around 52 blocks when fired at a 38 degree angle on a flat plane.

Arrows
(pre 1.8) Arrows provide ammunition for a bow, and can either be crafted or found as a common drop from skeletons. When fired. they will fly in a ballistic trajectory affected by gravity and drag in air or water and will travel approximately 3 blocks when fired parallel to a flat plane with no charge, 15 blocks average with medium charge, and 24 blocks average with maximum charge. Arrows in water get much more drag than in air, and leave a trail of bubbles in their wake. As of 1.8 pre-release, arrows (with bow at full strength) can travel 120 blocks when fired from the optimal angle.

Arrows deal five hearts of damage when fully charged if they successfully hit the target,  if charged to medium, and  if not charged at all. Immediately after hitting the target, there is a cooldown during which the target will be immune to further arrow damage. Arrows hitting the mob in this state will lose all speed and drop to the ground. Otherwise, the bow will fire as quickly as the right mouse button inputs, which can drop as low as 1 arrow every 2 ms. Because of the damage cooldown and the fact that arrows bouncing off immune targets can damage the player if the mob is too close, arrows are best fired slowly and carefully despite their high potential rate of fire.

Arrows will also stick into objects they come in contact with and will remain there for exactly a minute before disappearing; the distance from the object and the angle determine how far into the target the arrow will go. Arrows that have been fired by the player and stuck into terrain are retrievable and never break. Arrows that hit a target such as a mob will stick in the mob but cannot be recovered. Skeleton-fired arrows are special entities and cannot be collected.

They can bounce off entities like Minecarts and damage immune mobs. In multiplayer, if PvP is on, a player can hurt themselves if they run forward while shooting arrows while the server is lagging. It is also possible for players to damage themselves with their own arrows by firing one directly up and standing still. Arrows fired directly upward using a fully charged bow will fly so high that they disappear from view, but eventually fall. If that arrow lands on a block, and the player is directly beneath that block, then the player breaks that block, the arrow will fall and do one heart of damage to the player.

If the block in which an arrow is stuck in is destroyed or disappear (leaves), the arrow will fall and can injure the player or a mob.

Arrows shot through lava or fire will catch aflame and show an appropriate animation, though they will do no more damage nor will they set anything else on fire.

Arrows shot at Minecart track will stop the minecart from passing over that block until the arrow despawns or is collected.

Before the Beta version 1.2, Skeletons would only drop arrows when killed; they now have a chance of dropping both bones and arrows when killed.

If a bow is used to make a Dispenser, and arrows are loaded into it and then connected to a Redstone power source correctly, it will shoot and damage mobs, animals, and players by shooting or "Dispensing" arrows.

Arrows and Circuits
While arrows shot at Switches or Pressure Plates will not trigger said inputs directly (unless fired from a dispenser onto a pressure plate), workarounds can be used to trigger circuits from a distance. For instance, a minecart can be used in such a way that destroying it with arrows releases the wooden pressure plate it is resting on, or a painting can be shot off a wall and fall onto a wooden pressure plate to activate it. As of 1.8 and the increase of arrow damage, boats can be used as targets since a fully charged bow will break the boat in one shot.

Trivia

 * Even though Skeletons carry bows, they do not drop bows when killed.
 * Arrows (before Beta 1.6) stick in any block, even some non-solid ones. For example, they will stick in Torches, Sugar Cane, and Portals.
 * Tilling grass when an arrow is on it causes the arrow to fall to the block below.
 * Shooting an arrow through lava causes it to be set on fire, but the effect is purely visual.
 * When an arrow is shot at a painting, the painting will break and the arrow despawns.
 * If an arrow is shot at wheat and then the wheat is destroyed, the arrow falls through the farmland block below it.
 * If you have Tiny rendering distance and fire outside of the render, the arrow will be stuck in midair.
 * If an arrow is shot into a block by a player and the game is exited the arrow can no longer be picked up by the player when the game is re-entered. This also happens with arrows shot before dying.
 * When a TNT covered with arrows is detonated, it will fire the arrows out in all directions upon exploding.
 * Arrows will occasionally pass through blocks, particularly thin door blocks, due to the full length of the arrow passing over the block during one frame of physics simulation (the “tunneling” or “bullet through paper” problem).
 * Arrows can trigger wooden pressure plates if there is a particle effect source also nearby.
 * Arrows can suddenly lose momentum when it hits the smoke of a dying mob.
 * Arrows in SMP will seem to teleport to the top edge of the block above the one its stuck on.
 * Before the Seecret Friday update 7 (1.0.14), the recipe for arrows used iron instead of flint, proving far more costly to make them.
 * In previous versions, if a player shot him or herself with an arrow, any tamed wolves that belonged to that player would attack him or her.
 * Shooting a Ghast with an arrow will cause the stuck arrow to grow huge.

Bugs
Shift Clicking an arrow when in the dispenser menu might crash the game in Beta 1.8