Log

Wood, or log (from the name ID), is a naturally occurring block found in trees, primarily used to create wood planks. It comes in six species: oak, birch, spruce, jungle, dark oak, and acacia.

Obtaining
Wood can be broken by hand, but using an axe will speed up the process.

Natural generation
Oak wood blocks generate as part of houses in plains villages, acacia wood blocks in case of a savana village and spruce wood blocks in case of a taiga village. Spruce wood blocks generate as supporting beams of witch huts. Oak and dark oak wood blocks generate as part of woodland mansions.

Trees
Wood blocks of all six types generate naturally as part of trees. Trees can also be grown using saplings.

Further crafting
The following table presents the amount of wood needed to produce an even multiple of a given item with no waste left over, and the quantity produced:

Fuel
Wood logs can be used as a fuel in furnaces, smelting 1.5 items per block. It is far more efficient to craft each wood block into four wood planks: each plank will burn as long as the log would have, for a total of 6 items.

Smelting wood into charcoal is slightly better: each charcoal will smelt 8 items, but the charcoal itself needs to be smelted. The net items smelted therefore is 7. Also, the increased need to load and unload items will usually result in some loss of smelting time.

Data values
The wood blocks are defined by block IDs and block data. They also have block states which may replace block data in the future.

Note that when a wood block is placed, it changes its facing parameters, placing in the direction relative to the block it is placed on.

Block data
The block data for wood blocks consists of two facing bits (high-order) and two wood type bits (low-order).

Block 17 

Block 162 

Block state
Block 17 

Block 162 

Trivia

 * Dark oak and acacia logs share a new block ID separate from the old logs, called log2, because all the other data values on the previous log block were occupied by rotated variants (red sandstone slabs suffered a similar fate). There are still 2 remaining data values on the block that cannot be obtained. The next two trees, if more are added, will likely use these values.
 * Rotated logs in the inventory will be placed like normal logs, even if the item is an all bark block.

Gallery
Dřevo Holz Tronco Bois Nyersfa Legno 原木 나무 (블록) Hout Drewno pt-br:Madeira Древесина 木头