Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?

[BACK]
Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?
Posted On: January 19, 2023

This question was split into different questions for each workaround. See these two meta posts for more information.


Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like:.


give @s minecraft:planks 30 1 {display:{Lore:["Wooden planks"]}}.


give @s stone_pickaxe{Unbreakable:1b}.


give @s item_frame{EntityTag:{Invisible:1b}}.


summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}}.


summon tnt ~ ~ ~ {Fuse:20s}.


Question from user cherryblossom at gaming.stackexchange.com.


Answer:

If your question was marked as a duplicate of this one, it means your NBT question is not solvable in Bedrock Edition.


Unfortunately, there is no access to NBT tags from commands in Bedrock Edition (formerly Pocket Edition), so this is not possible. There are some workarounds for specific use cases:.


Giving one of the default potions from the Creative Inventory (no custom effects).


Giving an item with properties (click link to see available/unavailable properties).


Using an NBT editor to modify normally unavailable item properties.


Can be used to obtain enchantments that exceed their maximum enchantment level. (No longer works as of 1.16.100).


Using CanPlaceOn and CanDestroy.


Detecting whether a player has an item in their inventory, or in a certain slot.


Getting a block with data to place yourself.


Setting a block with data in a certain position.


Summoning a charged creeper.


Summoning a named mob.


Summoning a baby mob.


Summoning a villager with a certain profession.


Testing for a certain dropped item.


Summoning a horse with specific attributes.


Here are some examples of things that are currently impossible in Bedrock Edition:.


Giving a potion with a custom effect (although you can fake it to some extent using commands).


Placing skulls with custom owners.


Adding attribute modifiers to items.


Summoning a tipped arrow.


Summoning invisible item frames.


Summoning horses with custom speed/jump height/health.


Changing the time until a TNT explosion.


Querying item properties in /clear (note that you can still use data values).


Detecting when a mob is at a certain health.


Referencing JSON files in commands.


Answer from user cherryblossom at gaming.stackexchange.com.


[BACK]
Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?
Posted On: January 19, 2023

This question was split into different questions for each workaround. See these two meta posts for more information.


Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like:.


give @s minecraft:planks 30 1 {display:{Lore:["Wooden planks"]}}.


give @s stone_pickaxe{Unbreakable:1b}.


give @s item_frame{EntityTag:{Invisible:1b}}.


summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}}.


summon tnt ~ ~ ~ {Fuse:20s}.


Question from user cherryblossom at gaming.stackexchange.com.


Answer:

If your question was marked as a duplicate of this one, it means your NBT question is not solvable in Bedrock Edition.


Unfortunately, there is no access to NBT tags from commands in Bedrock Edition (formerly Pocket Edition), so this is not possible. There are some workarounds for specific use cases:.


Giving one of the default potions from the Creative Inventory (no custom effects).


Giving an item with properties (click link to see available/unavailable properties).


Using an NBT editor to modify normally unavailable item properties.


Can be used to obtain enchantments that exceed their maximum enchantment level. (No longer works as of 1.16.100).


Using CanPlaceOn and CanDestroy.


Detecting whether a player has an item in their inventory, or in a certain slot.


Getting a block with data to place yourself.


Setting a block with data in a certain position.


Summoning a charged creeper.


Summoning a named mob.


Summoning a baby mob.


Summoning a villager with a certain profession.


Testing for a certain dropped item.


Summoning a horse with specific attributes.


Here are some examples of things that are currently impossible in Bedrock Edition:.


Giving a potion with a custom effect (although you can fake it to some extent using commands).


Placing skulls with custom owners.


Adding attribute modifiers to items.


Summoning a tipped arrow.


Summoning invisible item frames.


Summoning horses with custom speed/jump height/health.


Changing the time until a TNT explosion.


Querying item properties in /clear (note that you can still use data values).


Detecting when a mob is at a certain health.


Referencing JSON files in commands.


Answer from user cherryblossom at gaming.stackexchange.com.


[BACK]

What are the equivalent PC keyboard keys and mouse buttons of the Xbox 360 game controller buttons shown on the screen? What are the equivalent PC keyboard keys and mouse buttons of the Xbox 360 game controller buttons shown on the screen?

Posted On: January 23, 2023
The PC port of Dark Souls shows Xbox 360 game controller buttons on its in-game messages and the UI. However, I'm playing with a mouse and a keyboard. This makes learning the controls a bit awkwar...[More]


Are the Draugr apologizing to me? Are the Draugr apologizing to me?

Posted On: February 4, 2015
Draugr sometimes say "Unstaad Krosis" when attacking. I understand that means "many apologies" in dragon tongue (convo with Paarthurnax). .Does this hint that they are doing something against their wi...[More]


In Valheim, Do Fuling villages respawn? In Valheim, Do Fuling villages respawn?

Posted On: February 16, 2023
After clearing out a Fuling village, it looks like a good place to set up a base as long as they don't come back. Will the Fulings respawn after a while or is it a safe once the village is clear? ...[More]


How to join Minecraft servers? How to join Minecraft servers?

Posted On: August 24, 2023
My son wants to join a server on Minecraft (Wii U Edition), but we don't know how. How can he join a server? Question from user Tomás at stackexchange. Answer: You can only join...[More]


Why is the default dark urge a storm sorcerer? Why is the default dark urge a storm sorcerer?

Posted On: November 7, 2025
Just seems the least likely for a big ass dragon born murderer to be a barbarian or even rogue would have made alot more sense so im just wondering whats the logic behind here.Question from user 24cma...[More]


What happened to old high scores on the updated Imagine Dragons maps? What happened to old high scores on the updated Imagine Dragons maps?

Posted On: October 19, 2023
Beat Saber v1.28.0 updated the Imagine Dragons Song Pack to change the layouts of existing songs. Surprisingly, it looks like old high scores from the previous versions weren't wiped from the lead...[More]


Using - execute command, how do I check if a block is one of multiple possibilities? Using - execute command, how do I check if a block is one of multiple possibilities?

Posted On: April 8, 2024
Using an /execute command, I want to check if a certain block is, for example, either oak_fence, OR iron_bars.However, in my specific case, I can't just use two command blocks to check for either one ...[More]


is there a way to auto-join conversations in multiplayer Baldurs Gate 3? is there a way to auto-join conversations in multiplayer Baldurs Gate 3?

Posted On: September 23, 2023
When playing multiplayer in Baldur's Gate 3, is there any way to automatically join conversations initiated by another player? Or alternatively, can I add some sort of audio cue when there's a...[More]


Is the missable chest in the Mushroom Castle still in the remake? Is the missable chest in the Mushroom Castle still in the remake?

Posted On: November 26, 2023
In the original Super Mario RPG on SNES, there is a missable hidden treasure chest that could only be obtained by jumping on a Toad's head the first time you visit Mushroom Castle. Once you enter ...[More]


In Farmville, Can I make friends with people who arent my social media friends? In Farmville, Can I make friends with people who arent my social media friends?

Posted On: May 25, 2023
I want friends! Friends seem awesome! I have a couple through people I know on Facebook, but not a lot of people I know are playing this game. Can I make friends any other way than connecting my socia...[More]