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 console command to undo expulsion from House Hlaalu? What is the console command to undo expulsion from House Hlaalu?

Posted On: March 17, 2024
I accidentally got expelled from House Hlaalu in The Elder Scrolls III: Morrowind, and I'm not in a situation where I can easily make amends, so I would like to use the console to easily get out of th...[More]


What is this item and what is it for? What is this item and what is it for?

Posted On: April 26, 2024
I've seen this item a number of times now, but I can't seem to pick it up.Is this an actual weapon or item? It looks like a circular saw of some sort. I can't seem to pick it up at all, but since I'v...[More]


Is Bae'zel Green or Yellow? Is Bae'zel Green or Yellow?

Posted On: February 5, 2025
Question from user DearPersimmon8155 at BaldursGate3 at reddit.com.Answer:Yes.Answer from user Toki_mon at BaldursGate3 at reddit.com....[More]


What is the music in the Dazed and Confused mission in Far Cry 4? What is the music in the Dazed and Confused mission in Far Cry 4?

Posted On: January 24, 2023
I've just been playing the Dazed and Confused level and was wondering what the music was. It's a mission with Yogi and Reggie done under the influence of drugs. I was curious if it was a no...[More]


Finished Far Cry Primal, but the play through is only at 54.02% Finished Far Cry Primal, but the play through is only at 54.02%

Posted On: August 24, 2023
I just finished Far Cry Primal. I played about 30 hours, and did all the (people) missions. I also build and crafted everything. I conquered all the towers and area's, and tamed all the b...[More]


Can I disable DLC in Dead Cells? Can I disable DLC in Dead Cells?

Posted On: April 6, 2023
I purchased Dead Cells on Steam with all the DLC and am finding the experience to be overwhelming. Can I disable the DLC to only play with the original content? If yes, how would disabling the DLC imp...[More]


What do I do with Gale's bonus actions What do I do with Gale's bonus actions

Posted On: December 6, 2025
Feels like they just go to waste most of the time.Question from user psychorameses at BaldursGate3 at reddit.com.Answer:Wizards just don’t make great use of the bonus action. There are some bonus ac...[More]


Does a bag carried out to the escape count as a secured bag? Does a bag carried out to the escape count as a secured bag?

Posted On: September 21, 2023
If I carry a bag out to the escape, rather than securing it in a helicopter or what have you (depending on the heist), does that bag count as a bag stolen at the end? Or do I need to throw the loot in...[More]


How can I train dexteriy for a heavy weapon user? How can I train dexteriy for a heavy weapon user?

Posted On: November 7, 2023
Dexterity is trained by using light weapons however I have one medium guy focued on using sabers. Is there any way to train dexterity other than switching to a light weapon for a while? This is a r...[More]


Did they have to go so overboard with the Hogwarts woke-ness? Did they have to go so overboard with the Hogwarts woke-ness?

Posted On: July 8, 2023
It's a fun game (even though I can't help wishing they could have made it more like a GTA- hogwarts..that would be amazing ), but ffs why did they go sooo over the top making every second char...[More]