Minecraft Item IDs and Block IDs

By the ChunkScan Team · Updated November 2026

Quick answer: To find an item's id, open /item-ids?q=ender_pearl and search by name or id: the Ender Pearl is minecraft:ender_pearl and stacks to 16, ready to copy into /give.

Every Java item and block id with its name, max stack size and whether it is an item, a block or both.

Sponsored

What an item id is

Every item and block in Java Edition has a namespaced id: the namespace, a colon and a path, like minecraft:diamond or minecraft:oak_planks. The namespace is minecraft for everything in the vanilla game; data packs and mods add their own namespaces. You can usually leave out minecraft: when you type a command, because the game fills it in. Ids never change with the language of the game, so a command that works in English works in every language, which is why maps, data packs and server plugins always use ids and not names.

Items, blocks and both

The game keeps two lists: an item registry with everything you can hold in your inventory, and a block registry with everything that can sit in the world. Most blocks have an item with the same id, so minecraft:stone is both. Some blocks have no item of their own: water and lava, wall torches and wall signs, crops such as beetroots or carrots, and the cake with a candle on it. You can't /give those, but you can place them with /setblock or /fill. Other items, like a diamond or an ender pearl, are never a block.

Why the old numeric ids are gone

Before Java 1.13 blocks and items had numbers, such as 1 for stone or 35:14 for red wool, where the number after the colon was a data value for the colour or variant. Version 1.13, the Flattening, replaced them with one named id per block and item, so red wool became minecraft:red_wool. Commands, data packs and maps from 1.13 onwards only accept names. The numbers that still appear in the game's data files are network ids that can change in any update, so don't rely on them.

Sponsored

Using an id in /give

The /give command takes a target, then the item id, then an optional count. To hand yourself 32 ender pearls, type the command name, the target @s, the id minecraft:ender_pearl and the number 32. Since Java 1.20.5 you can add item components in square brackets straight after the id, for example a custom name or enchantments. You need cheats or operator rights, and the count can be bigger than one stack: the game hands out as many stacks as it needs.

Stack sizes

Most items stack to 64. Ender pearls, snowballs, eggs, signs, banners, empty buckets, honey bottles and armor stands stack to 16, and tools, weapons, armor, potions, filled buckets and most other things that wear out or hold something stack to 1. The number shown is the default: a data pack or a /give with a max stack size component can change it for one item, up to 99.

Open the seed search