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 constitutes a save in Overwatch 2? What constitutes a save in Overwatch 2?

Posted On: March 8, 2023
Overwatch 2 now tracks a stat called "players saved", with a notification when you save someone (or when you get saved by someone else). However, with some exceptions, it's not entirely ...[More]


Not letting me pick up these blue things in Hogwarts Legacy Not letting me pick up these blue things in Hogwarts Legacy

Posted On: July 30, 2023
i walk over them and nothing happens. i think it’s supposed to be picking up XP but they just disappear. playing on ps4, i have tried restarting the game. Question from user xWolfy012x at Hog...[More]


What’s one line from the game you always seem to remember What’s one line from the game you always seem to remember

Posted On: March 10, 2026
Personally it’s “Listen here pipsqueak. Do not underestimate this opponent. At best you will have to blink of an eye to strike. Strike fist strike true defy the odds! For they are distinctly in it...[More]


Build the greatest possible sleight of hand. Build the greatest possible sleight of hand.

Posted On: December 14, 2025
I'm looking to start a new campaign in honor mode for myself. In my current campaign, I'm having a lot of trouble buying items from merchants, even though I'm collecting everything in the world to sel...[More]


Is Sebastian Sallow a pure-blood wizard? Is Sebastian Sallow a pure-blood wizard?

Posted On: July 20, 2023
Do we know Sebastian Sallow's blood status in the game? Is he pure-blood, half-blood, or Muggle-born? Question from user Shaun Roselt at stackexchange. Answer: Sebastian is definitely ...[More]


Is it possible to jump over the flag-pole in Super Mario Bros? Is it possible to jump over the flag-pole in Super Mario Bros?

Posted On: August 16, 2019
When I was younger, I remember there was a persistent rumour that claimed that under certain circumstances it was possible to jump completely over the flagpole at the end of each level. . Every tim...[More]


How to enhance match objectives in Fifa 23 career matches How to enhance match objectives in Fifa 23 career matches

Posted On: April 30, 2023
I play Fifa 23 on a PC with an Xbox controller and intend to achieve the enhanced objectives when a career match begins. I can see the objectives screen and it says I should press L + Hold L. Ho...[More]


Why does this solution to 5-3 work? Didnt the Prince get eaten? Why does this solution to 5-3 work? Didnt the Prince get eaten?

Posted On: November 26, 2023
In Storyteller, a puzzle game about telling stories that fit a title, I accidentally solved Chapter 5.3 - Duplicity: A Kiss and a Curse without understanding why my solution worked. Kiss, Witch, Pr...[More]


In Path of Exile, Whats the intended purpose of the Book of Regression? In Path of Exile, Whats the intended purpose of the Book of Regression?

Posted On: March 30, 2023
The Book of Regression, an item you get by vendoring an Orb of Scouring with 1x Scroll of Wisdom, apparently downlevels your character by 1 and resets all exp to 0. What I want to understand is, fo...[More]


Hogwarts Legacy 2 how to keep Hogwarts Castle fresh? Hogwarts Legacy 2 how to keep Hogwarts Castle fresh?

Posted On: August 11, 2023
Just finished Hogwarts Legacy and loved it. As we're a 5th-year, it makes sense that a trilogy of games could be planned with us being 6th and 7th-year students. For HL 2, how do you think they...[More]