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]

In Deadcells, What do hollow blue circles with a dot mean on the World Map? In Deadcells, What do hollow blue circles with a dot mean on the World Map?

Posted On: May 1, 2023
During a 2 Boss Stem Cell run, I noticed some biomes on the World Map were marked by sets of hollow blue circles that had a dot inside and were connected together. When selecting a marked location, I ...[More]


Where do I sell Specials? Achievement: Arent you Special in Farmville? Where do I sell Specials? Achievement: Arent you Special in Farmville?

Posted On: April 13, 2023
How can I sell the specials? I would like to get the Google Play achievement but my selling board does not have a "special". I am level 52. I understand I may be lacking some requireme...[More]


How do I transfer wares for a mission in X4 Foundations? How do I transfer wares for a mission in X4 Foundations?

Posted On: September 1, 2023
How do I transfer wares to finish a mission? I'm docked at the correct ship, but transfer wares is disabled in the menu. I'm at the correct ship:. And I have the antimatter cells in m...[More]


Can two players play a multiplayer game for Game Boy Advance using only one cartridge? Can two players play a multiplayer game for Game Boy Advance using only one cartridge?

Posted On: March 21, 2023
I have two Game Boy Advance units, each with a wireless link accessory. I also have only one copy of The Chronicles of Narnia: The Lion, The Witch, And The Wardrobe. I have tried to connect both units...[More]


What parts of the ending may change in Zelda Tears of the Kingdom? What parts of the ending may change in Zelda Tears of the Kingdom?

Posted On: June 15, 2023
Just like in BotW, the ending is probably modular, lots of things may or may not be there depending if you did something or not. (Staying vague so if someone that hasn't finished the game opens th...[More]


How can I show the map layer ui? How can I show the map layer ui?

Posted On: October 20, 2023
With the release of version 4.0 layered maps are now in the game, allowing you to swap between surface level and lower levels. When you select something 'underground' the layers map ui is s...[More]


I don't understand why people think what happens to gale... I don't understand why people think what happens to gale...

Posted On: December 3, 2023
. Is a bad thing. He ascend to being a god, and he was as nice as he ever was. I'm really happy he achieved what he wanted, and now I have a god best friend. So what's the deal? Question fr...[More]


How To Spawn after a specific amount of time How To Spawn after a specific amount of time

Posted On: January 27, 2023
I am currently making a Legend of Zelda themed adventure map. I am struggling to make it, so enemies spawn every few minutes but not spawn large amounts over time. I have tried using things like hoppe...[More]


Am I doing this Durge thing right? About to hit act 2 Am I doing this Durge thing right? About to hit act 2

Posted On: June 24, 2025
Question from user Smiley_707 at BaldursGate3 at reddit.com.Answer:Umm… I think you may have an IRL dark urge.Answer from user TheMediumEagle at BaldursGate3 at reddit.com....[More]


Is there a way to tell how much extra heal and shield power you have? Is there a way to tell how much extra heal and shield power you have?

Posted On: September 30, 2023
I am playing Soraka in League of Legends and her main role is to heal her allies, so shes buys items to help. Some of the best items for Soraka are items that give more healing power for example the i...[More]