What is nbt in minecraft
Avery Gonzales
Updated on March 24, 2026

NBT Tags in Minecraft. NBT tags ( formerly called data tags) allow you to set certain properties of an entity (or mob) in the game. NBT tags are used in game commands such as: /summon, /data, /give, /fill, /setblock. The NBT tag is always surrounded in {} such as {NoAI:1}.
There are other answers below:
OverviewSNBT formatNBT objectThe Named Binary Tag (NBT) format is used by Minecraft for the various files in which it saves data. The format is designed to store data in a tree structure made up of various tags. All tags have an ID and a name. Another more user-friendly format of NBT is in plain string, as used in commands. This format is referred to as SNBT, short for stringi… · Text under CC-BY-SA license
NBT, or Named Binary Tag, is a file format created by Markus Persson for use with Minecraft levels. Although originally designed for Minecraft levels, it is appropriate for the vast majority of use cases. How do you make nametags in Minecraft? To use a name tag, simply hold the item in a player’s hand and right click on the mob to name it.
NBT tags can be specified for items and entities created with the / give and / summon commands. Each tag has the format
Related Questions
What is an NBT file in Minecraft?
The Named Binary Tag ( NBT) format is used by Minecraft for the various files in which it saves data. The format is designed to store data in a tree structure made up of various tags. All tags have an ID and a name. Another more user-friendly format of NBT is in plain string, as used in commands.
What are the NBT tags used in game?
NBT tags are used in game commands such as: /summon, /data, /give, /fill, /setblock. The NBT tag is always surrounded in {} such as {NoAI:1}. If there is more than one NBT tag used in a command, the NBT tags are separated by a comma such as {NoAI:1, IsBaby:1}. Each entity (or mob) has its own unique set of NBT tags.
Where can I find NBT classes for Minecraft?
Mojang has provided sample Java NBT classes for developers to use and reference as part of the source code for the MCRegion to Anvil file format converter. Since Java Edition 1.13, Minecraft includes a built-in converter between the SNBT format and compressed NBT format, which comes with both the client and official server.
How do I change the NBT tags in a command?
The NBT tag is always surrounded in {} such as {NoAI:1}. If there is more than one NBT tag used in a command, the NBT tags are separated by a comma such as {NoAI:1, IsBaby:1}. Each entity (or mob) has its own unique set of NBT tags. Select an entity to see the NBT tags that you can change.