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 is the terminal velocity of a sheep? What is the terminal velocity of a sheep?

Posted On: August 25, 2015
I am thinking of an alternative timing mechanism; I am building a trap and I wanted to try something different to set it off. I want to drop a sheep from n blocks high so that I have a delay before...[More]


How do I find my Outpost(s)? How do I find my Outpost(s)?

Posted On: September 6, 2023
In my adventures I found a planet that had an iron deposit, which I need a lot of. I placed down the outpost marker, miner, and powered up. Then I went on my way with other interstellar adventures. I&...[More]


In Minecraft, what to do with all these Iron ingots? In Minecraft, what to do with all these Iron ingots?

Posted On: February 15, 2023
So I have about 10 iron ingots, but not sure what to start using them for first. Which is the more important thing to invest my ingots? I know armor swords and tools are important, but what is my prio...[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]


I beg your pardon? I beg your pardon?

Posted On: August 30, 2025
She just,,,,teleported back up?? It didn't say she used her special ability, homegirl just changed her mind.Question from user Unique_Interview_193 at BaldursGate3 at reddit.com.Answer:They added thin...[More]


Feel like I’m completely done with act 1, I’m an early lvl 6 Feel like I’m completely done with act 1, I’m an early lvl 6

Posted On: October 24, 2023
I’ve scoured the map. Killed everyone I think I am supposed to and ventured to all the spots, goblin camp, under dark, ancient forge, Ethel. I feel like I’ve been able to kill all enemi...[More]


Can I increase the speed of combat in XCOM? Can I increase the speed of combat in XCOM?

Posted On: June 20, 2023
XCOM Enemy Unknown is a beautiful game, but you can only see every 5 second animation so many times before it becomes repetitive and self-indulgent. Is there a way to make the animations go faster or ...[More]


Is my story over? Is my story over?

Posted On: March 19, 2024
I LOVE NMS but the story is extremely confusing (I think I get the gist) so I'm not sure if I've finished it as I still have two main missions showing in the log. I switched galaxy for the first time ...[More]


What is the Concerned Citizen in The Witcher 3? What is the Concerned Citizen in The Witcher 3?

Posted On: June 8, 2023
In Novigrad I keep finding sheets of paper with messsages involving the "Eternal Fire" and Novigrad's church. They seem to be written by someone who is against Magic, Witches, Mages a...[More]


Do horns affect AI in American Truck Simulator? Do horns affect AI in American Truck Simulator?

Posted On: May 31, 2023
I like overtaking AI slowpokes that hamper the overtaking lane. I read this Steam Community post, but there's no consensus. . Will honking goad them to turn to the right-hand traveling lane? . ...[More]