How to see the id of objects or blocks in Minecraft

Minecraft is a very broad game, with many mechanics and places to explore, however some more advanced players may need slightly more technical options. Today we are talking about one of those technical functions:  How to see the id of objects or blocks in Minecraft.

What is the ID?

In programming, English words are generally used. The ‘Namespaced Identifiers’ are a very important concept in code, especially in the code of games like Minecraft.

Namespace or Name Space is a group of characters used to identify and refer to objects (in programming). Identifiers, identifiers , are symbols used to name entities in a language.

Therefore, Namespaced Identifiers, although a bit redundant, is how the names that are assigned to each part of Minecraft are said to avoid confusion on the part of the computer. It is a way of declaring, identifying and separating objects, entities, etc … avoiding ambiguity.

The need to have ID comes from the need for humans to understand the code in order to add things. Computers can separate all kinds of objects, but we can’t. That is why easy-to-understand names are assigned to each resource (object, block, entity, etc…) within the juice so that anyone with a little knowledge can understand and use it.

However, computers don’t understand the concept of names, and before being read by a machine, these names must be converted to character strings.

This is important to understand as this is the purpose of identifiers in the game currently. Minecraft comes with a group of resources; but it is possible to add more to it using the best mods . Therefore, it is important that the game saves and activates these resources separately, without being confused.

All the resources in the game have the name ‘Minecraft’ , and the identifier indicates the type of object it is. For example, diamonds are ‘minecraft: diamonds’, and the iron ingots you can get are ‘minecraft: iron_ingots’.

Here the Namespace is ‘minecraft’, while the Identifier is ‘diamonds’ or ‘iron_ingots’. Hence the name Namespaced Identifiers, abbreviated as ID.

What are IDs for a player?

To use commands like ‘/ give’, ‘/ summon’, ‘/ effect’ or ‘/ enchant’, among others, it is important to know the IDs of objects, entities, effects and enchantments. By typing the command in the bar, the game fills the text with valid data.

But sometimes you need to see the ID or tags of an object that you already have, to save time . For that, just look at the debug menu. Please note that this menu is only available in the Java edition of the game. In the Bedrock edition, there is no way to see the ID of a block or object normally. Also internally, in code, IDs work differently.

How to view object IDs?

If you have followed the blog articles, you are most likely familiar with the debug menu . The debug menu is activated by pressing F3. However, F3 also has other technical functions. For example pressing F3 and C copies the coordinates of the player to teleport.

The function that interests us today is F3 and H. By pressing both keys at the same time, you can see technical information of the items in your inventory, including the ID of the items , the durability of the tools and armor, the color of the armor and the scale of the maps.

How to see block IDs?

The same debug menu, activated by pressing F3, allows you to see the ID of the blocks , as long as they are within the range of action. If you can break a block or put something on it, you will see its ID.

For this, you simply have to open the debug menu and look directly at the block . On the right side of the screen, in the ‘Targeted Block’ section, you will see the information about the block. This information includes the ID of the block , allows you to see its coordinates , its status and its labels. The debug menu is very important. We invite you to learn how to use it.


by Abdullah Sam
I’m a teacher, researcher and writer. I write about study subjects to improve the learning of college and university students. I write top Quality study notes Mostly, Tech, Games, Education, And Solutions/Tips and Tricks. I am a person who helps students to acquire knowledge, competence or virtue.

Leave a Comment