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]

Where does this blue cube-shaped object belong in Unpacking? Where does this blue cube-shaped object belong in Unpacking?

Posted On: July 25, 2023
I cannot understand what this blue cube-shaped object is. I cannot find where it belongs. Every place I put it in shows it's wrong. Where should I place this object? Question from user sdo at s...[More]


Can the Haglins Satchel add any orb to your deck? Can the Haglins Satchel add any orb to your deck?

Posted On: December 7, 2023
The description for Haglin's Satchel says it "Randomly adds 2 orbs to your deck, then randomly upgrades orbs 4 times." Are there any limits to which orbs the Haglin's Satchel can ...[More]


What is your favorite companion voice line? What is your favorite companion voice line?

Posted On: September 13, 2025
I'm a bit in my cups tonight. I've played this game now for about 500 hours, rookie numbers, I know. After all this time I still chuckle every time Astarion say, "Into my pocket." His inflection on th...[More]


Can you play the entire game solo? Can you play the entire game solo?

Posted On: May 28, 2024
Just curious. It seems like it would be impossible with some of the fights but I wonder if it can be done. Like you just use tav and leave all your companions at camp every day?Question from user glit...[More]


Wii controllers keep losing connection. What can I do? Wii controllers keep losing connection. What can I do?

Posted On: January 15, 2024
I have a Wii and two controllers. In the last few months the controllers lose the connection to the Wii rather often. It's bad enough that we cannot play Mario Kart any more (because one player ge...[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]


Why is killing Mongrels any different than what the poachers do? Why is killing Mongrels any different than what the poachers do?

Posted On: July 24, 2023
I just find it completely hypocritical to hate the poachers for kidnapping animals, and from our player's POV, we don't even know if they kill them or not. Sorry not everyone has the opportuni...[More]


What Pokemon characteristics are immutable as of gen 9 games? What Pokemon characteristics are immutable as of gen 9 games?

Posted On: February 6, 2023
I'm picking up Pokemon games with Violet and learning about every additions made to the game since gen 2, I'm having a hard time figuring out what are the Pokemon characteristics you can't change thro...[More]


Are the Poker Night games rigged? Are the Poker Night games rigged?

Posted On: February 7, 2023
I've played poker in real life and I've played Poker Night at the Inventory (but not Poker Night 2). I have the feeling that the Poker Night engine manipulates the deck to give players a mo...[More]


Can I have more than one of the same trading card? Can I have more than one of the same trading card?

Posted On: January 22, 2023
Steam now has trading cards. In order to get them, you're supposed to play specific games (currently there are only 6 games supported, but they've said more will come).However, it's only possible to ...[More]