Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for oak planks in Minecraft is shown below:
When Minecraft updated to version 1.13, a changed dubbed "The Flattening" was introduced. In "The Flattening", numerical IDs and item data was removed, and some item IDs were changed to make them more logical - Oak Planks was one of the many items that had their IDs changed.
For this reason, if you're playing on a Minecraft version below 1.13 (1.12, 1.8, 1.7), you should use what we've named a legacy ID for this item. The legacy ID for oak planks is:
Oak Planks has a data value of 0. You will need to add this to commands, along with its legacy item ID (below), to spawn it.
Items from earlier versions of Minecraft were assigned a numerical ID - a unique number to represent it.
The numerical ID for Oak Planks is:
The Oak Planks item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
Wooden planks are an essential ingredient to many crafting recipes. They can be obtained by placing logs into the crafting table.
|Legacy Item ID (1.12.2 and Below)||minecraft:planks|
|Max Stack Size||64|
|Recipes Used In||Note Block, Piston, Oak Slab, Bookshelf, Oak Stairs, Chest, Crafting Table, Oak Pressure Plate, Jukebox, Oak Fence, Oak Trapdoor, Oak Fence Gate, Tripwire Hook, Oak Button, Oak Door, Wooden Sword, Wooden Shovel, Wooden Pickaxe, Wooden Axe, Stick, Bowl, Wooden Hoe, Sign, Oak Boat, White Bed, Orange Bed, Magenta Bed, Light Blue Bed, Yellow Bed, Lime Bed, Pink Bed, Gray Bed, Light Gray Bed, Cyan Bed, Purple Bed, Blue Bed, Brown Bed, Green Bed, Red Bed, Black Bed, Shield, Composter, Oak Sign, Loom, Barrel, Cartography Table, Fletching Table, Grindstone, Smithing Table|
|Min / Max State IDs||15 - 15|