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]

This happened when giving Karlach a soul coin in Act 3 This happened when giving Karlach a soul coin in Act 3

Posted On: November 13, 2025
I recently posted about a scene that happens if you have Karlach consume a soul coin after transforming into an Illithid. It was requested I provide a video, so after far too much frustration to get t...[More]


How do I get SCUBA gear in GTA 5? How do I get SCUBA gear in GTA 5?

Posted On: April 25, 2023
I am looking for a way to equip Scuba gear outside of a mission. I know that you are automatically equipped with scuba gear when you exit the Submersible while in water. Can anyone other than th...[More]


After searching for demiguise statues in Hogwarts, I’m beginning to hate them After searching for demiguise statues in Hogwarts, I’m beginning to hate them

Posted On: June 19, 2023
They’re so hard to find. Question from user growinwithweeds at HogwartsLegacyGaming at reddit. Answer: If you hover over the town or area youre looking in it will tell you if youve foun...[More]


Ask anything Ask anything

Posted On: September 28, 2024
My brother brought it and i am planning on playing it too, but before that i wanted to do this and make fun of it when i finish it so.Question from user Choice_Knowledge_577 at BaldursGate3 at reddit....[More]


Why does Romance have to be creepy in Hogwarts Why does Romance have to be creepy in Hogwarts

Posted On: March 13, 2023
It might be an old topic, but I've seen too many people saying that wanting romance in this game is pedo behaviour. Why does "romance" have to be a synonym for +18 content? seriously,...[More]


What do Steam OS minimum system requirements guarantee in terms of playability? What do Steam OS minimum system requirements guarantee in terms of playability?

Posted On: September 25, 2023
I want to buy a game on Steam and my device meets the minimum system requirements. Am I guaranteed that the game will be playable? Question from user Francesco Iapicca at stackexchange. Answe...[More]


Valheim multiplayer difficulty scaling Valheim multiplayer difficulty scaling

Posted On: January 19, 2024
I am looking for a thorough explanation about Valheim difficulty scaling when playing with multiple people inside a same world. The only information I could find with a quick google was this wiki, whi...[More]


Is Wordle always beatable under optimal play? Is Wordle always beatable under optimal play?

Posted On: June 15, 2023
Is Wordle always beatable under optimal play on easy mode (where you can guess any valid word)? To put the question more formally, does there exist a deterministic computer program that can play Wo...[More]


Is No Mans Sky actually multiplayer? Is No Mans Sky actually multiplayer?

Posted On: August 7, 2018
I've heard claims that the game is multiplayer, but the universe is so huge you will almost certainly never encounter another player.That seems unlikely. It's a lot of work to make a game multiplayer...[More]


Elder Scrolls V: Is there a reliable, continuous source for dragon locations? Elder Scrolls V: Is there a reliable, continuous source for dragon locations?

Posted On: August 26, 2023
I'm trying to gather bones and scales to make armor for one character, and I've come to realize that there's never really any dragons around when you want them to be. Is there a reliabl...[More]