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 do the numbers next to the achievements mean in Overwatch? What do the numbers next to the achievements mean in Overwatch?

Posted On: May 18, 2023
Next to each achievement in Overwatch there's a little number in a circle, what does that mean? Question from user Wrigglenite at gaming.stackexchange.com. Answer: The number signifies th...[More]


Will I still get weapon discounts in Ratchet & Clank 3 with a Ratchet & Clank 1 new game+ save? Will I still get weapon discounts in Ratchet & Clank 3 with a Ratchet & Clank 1 new game+ save?

Posted On: March 8, 2024
In Ratchet and Clank 3: Up your Arsenal, it's possible to get an "employee discount" at Gadgetron weapons vendors if you have a save file from Ratchet & Clank 1 present on the memory card.The save fil...[More]


Raphael totally looks like... Raphael totally looks like...

Posted On: May 1, 2025
So I was explaining some political topics to my kids and got on the subject of Gavin Newsom. I brought up a pic as a visual aid and. Hmm.Am I crazy?Question from user LikeTheCounty at BaldursGate3 at ...[More]


Storyline of Hogwarts Legacy Storyline of Hogwarts Legacy

Posted On: April 7, 2023
Did anyone else feel like the storyline of the entire game was too weak? Like I loved the game and its beautiful creation of the world of Hogwarts but the main storyline about the ancient magic, ranro...[More]


What is the Nintendo Wii Family Trainer Dancing Mat Controller for? What is the Nintendo Wii Family Trainer Dancing Mat Controller for?

Posted On: March 24, 2023
There is some kind of weird dance controller for the Wii. What's this for? What games are compatible with it? Question from user Ender at gaming.stackexchange.com. Answer: "Family...[More]


is there a Clothing shop in Baldur's gate? is there a Clothing shop in Baldur's gate?

Posted On: October 28, 2023
Im looking for some cool camp clothing. . Im lying, im looking for underwear. I just got to Act 3, Rivington to be exact. Can someone point me to the right direction please? Asking for myself. Or a...[More]


In EVE, What happens to skills in the training queue when an account reverts to alpha clone status? In EVE, What happens to skills in the training queue when an account reverts to alpha clone status?

Posted On: March 9, 2023
I have a bunch of skills queued to train, which includes advanced skills that an Alpha clone cannot train and several skills that are scheduled to start several days out. Since these two conditions ar...[More]


Can I skip the launcher when launching Baldurs Gate 3 from Steam? Can I skip the launcher when launching Baldurs Gate 3 from Steam?

Posted On: July 12, 2023
I don't want to have to go through the "Larian Launcher" when I want to play Baldur's Gate 3 in Steam. How can I skip it? Question from user Oak at stackexchange. Answer: To...[More]


How do I lick a plane? How do I lick a plane?

Posted On: November 21, 2014
A friend of mine told me that I would get an Achievement if I managed to lick the plane that's flying around in the world but, he won't tell me how to get close to it.I tried many different things. Ju...[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]