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]

Why do I have the dark arts pack even though I never bought the dark arts pack Why do I have the dark arts pack even though I never bought the dark arts pack

Posted On: July 20, 2023
I don't know how this happened, I pre ordered the base version of the game i never saw a email saying that I have bought the pack. (and yes I can play the dungeon thingy). Question from user bi...[More]


Why do Pokemon sometimes have dark stripes in Pokemon Go? Why do Pokemon sometimes have dark stripes in Pokemon Go?

Posted On: February 5, 2023
Occasionally I'll face a Charizard or Venusaur in GBL that has dark striping like this:.How do they get those markings, or what is the significance of them?Question from user Lysander at gaming.stacke...[More]


What do the stars under can produce mean in against the storm What do the stars under can produce mean in against the storm

Posted On: February 7, 2023
Does it mean it can produce those goods faster, higher quality or what? Is it worth it to replace buildings with higher starred versions or prioritize going for buildings with new stuff?So for example...[More]


Meeting specific person at the end of Life Is Strange Before The Storm Meeting specific person at the end of Life Is Strange Before The Storm

Posted On: May 9, 2023
I just ended a game. After the credits, I noticed that there is the possibility of: . Rachel meeting her mother - Sera. I searched the internet for clues on how I can make this happen. I then re...[More]


Pokemon GO, What does this symbol mean in the Collector research? Pokemon GO, What does this symbol mean in the Collector research?

Posted On: May 1, 2023
In the temporary research there is a challenge to catch specific pokemon. Some are normal, some are event, but there is one that I'm not sure what it means. What does this symbol mean? Qu...[More]


Is it really possible to finish Deus Ex without actively killing a single enemy? Is it really possible to finish Deus Ex without actively killing a single enemy?

Posted On: May 3, 2023
Recently I read an old article about violence in video games. This article was astonishingly informed, since it mentioned that Deus Ex can be played without actively killing a single enemy. I playe...[More]


Is there a way to increase the number of potions I can carry in Final Fantasy 16? Is there a way to increase the number of potions I can carry in Final Fantasy 16?

Posted On: July 25, 2023
I'm still in the early parts of Final Fantasy 16, and Clive can only carry 4 potions and 3 high potions. During certain boss fights, I found myself using them all early on in the fights and not ha...[More]


On the scale of 1 to 10. How freaked out are you? On the scale of 1 to 10. How freaked out are you?

Posted On: July 30, 2025
10 pretty freaked out.Question from user Josh_thebosh109 at BaldursGate3 at reddit.com.Answer:If Im banging away and the chosen of the dead three plus temu-Geralt barge in and start watching? Pretty d...[More]


Donkey Kong 64 - What do the Chimpy Cam options do? Donkey Kong 64 - What do the Chimpy Cam options do?

Posted On: March 17, 2023
In the options for Donkey Kong 64 I can set Chimpy Cam to either Free or Follow. What's the difference between Free and Follow? Question from user Stevoisiak at gaming.stackexchange.com. Ans...[More]


In Fallout New Vegas, I failed Render Unto Caesar. How can I recover and do the quest anyway? In Fallout New Vegas, I failed Render Unto Caesar. How can I recover and do the quest anyway?

Posted On: February 17, 2023
Shortly after I got the Mark Of Caesar at New Vegas and was told I was forgiven and the legion wouldn't attack me any more, a bunch of legion assassins appeared and attacked me. I shrugged and tho...[More]