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]

Just need some advice ?? Just need some advice ??

Posted On: November 28, 2025
Im doing my first real play through, and decided to play on tactician and would really like some advice/tips. So far i made it to the cove after finding the guy who can respec your characters. Battle...[More]


Which city does chopping production go to in Civilization 6? Which city does chopping production go to in Civilization 6?

Posted On: July 20, 2023
Is the city that owns the tile? (If so, what determines tile ownership? The city that first expanded into that tile? Or if you swap that tile to a 2nd city to work, does that 2nd city work?). Or is...[More]


How can I kill adorable animals? How can I kill adorable animals?

Posted On: December 6, 2011
With version 1.0.4 of Terraria came fluffy little bunnies hopping in my fields and happy little goldfish swimming in my lakes, grateful for the sanctuary my base provides them against the horrors of t...[More]


What happens when you scan your 31st Amiibo in Amiibo Tap? What happens when you scan your 31st Amiibo in Amiibo Tap?

Posted On: March 25, 2023
Each time you scan an Amiibo in Amiibo Tap: Nintendo's Greatest Bits, it unlocks a virtual console demo that is tied to the Amiibo you scanned to unlock it. . There are 30 game demos. What happ...[More]


Is it really possible to finish Deus Ex without actively killing a single enemy? Is it really possible to finish Deus Ex without actively killing a single enemy?

Posted On: May 3, 2023
Recently I read an old article about violence in video games. This article was astonishingly informed, since it mentioned that Deus Ex can be played without actively killing a single enemy. I playe...[More]


In Hogwarts, Am I Wendelin the weird? In Hogwarts, Am I Wendelin the weird?

Posted On: June 11, 2023
Is it werid to have too many profiles because well…er…I have 20 profiles just for my own characters each with their own unique backstory am just asking do you think it’s weird to h...[More]


Why would I change my realm layout in Genshin Impact? Why would I change my realm layout in Genshin Impact?

Posted On: October 15, 2023
I recently unlocked the Silken Courtyard realm layout. However I cannot see why I would change to a new layout. None of my furnishings go with me, so I would have to rebuild everything. I tried bef...[More]


Anyone else not using the Hogwarts Legacy curses? Anyone else not using the Hogwarts Legacy curses?

Posted On: June 8, 2023
Question from user Zealousideal_Chef137 at HogwartsLegacyGaming at reddit.com. Answer: I did on one of my playthroughs; I put a lot of points into potions and plants. It was a great time. I e...[More]


How can I play Quake on OS X 10.7 or above? How can I play Quake on OS X 10.7 or above?

Posted On: February 9, 2023
Is there any option for native playing Quake on OS X 10.7 and above?Question from user LuisEspinoza at gaming.stackexchange.com.Answer:Yes there is actually a way to play Quake but you'll need the CD ...[More]


Maximum number of survivors in team Walking Dead Maximum number of survivors in team Walking Dead

Posted On: March 25, 2023
In The Walking Dead - No Man's Land, on iOS platform, what is the maximum number of survivors that one can team up in one level? I've unlocked one slot more from those available since the b...[More]