Putting tags above blocks when looked at
Is there any way that I could put tags on blocks when a player looks at it? If you are confused about what I mean by tags, I am talking about the kind that you get from naming a mob with a name tag. Anyways, like I said, is there any way to do this with a command or something? I want players to be able to see the name of the block they are looking at. Any help is appreciated!
Best Answer
This is definitely a specific case, but it is worth noting:
A named item (which you renamed using an anvil), placed in an item frame does have its name displayed, similar to named mobs or players, when you look at it.
This has been added in 1.7.2, according to the wiki
Pictures about "Putting tags above blocks when looked at"



Can you put name tags on blocks?
Their names can be seen only if they are aimed at from four or fewer blocks away. Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.How many blocks until you can see a name tag?
You can add, list and remove player tags using the /tag command in Minecraft. This is a very useful command to target and tag players in a multiplayer game. TIP: Starting in Minecraft Java Edition (PC/Mac) 1.13, the /tag command replaces the /scoreboard players tag command to set up and manage tags for players.How do you show tags in Minecraft?
Procedures UseFront How To – Tags
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: PNW Production, cottonbro, Ruslan Alekso, Kampus Production
