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]

Are my Assassins Creed experience levels bugged? Are my Assassins Creed experience levels bugged?

Posted On: July 8, 2023
I'm confused. In Assassins Creed: Revelations I have lots of assassins which I've sent off on missions, however their XP to next level is less than their current XP (i.e, XP of 13k, next level...[More]


Oof Oof

Posted On: December 17, 2024
Question from user Ferocs at BaldursGate3 at reddit.com.Answer:the issue with wylls story was not lack of effort. he has a ton of characters and narrative beats, its just not very engaging for enough ...[More]


My cat judged me for my romance with Karlach. My cat judged me for my romance with Karlach.

Posted On: October 26, 2025
Question from user clockfart at BaldursGate3 at reddit.com.Answer:https: - - preview.redd.it - 43rozd682hxf1.jpeg?width=3024&format=pjpg&auto=webp&s=09f8507118c348285c6e43ca64eea2252e85f010.I feel you...[More]


In Hogwarts how do I unlock chests with an eyeball on it? In Hogwarts how do I unlock chests with an eyeball on it?

Posted On: February 14, 2023
I have come across multiple chests that will not let me open them. They have an eye in the middle which looks at me when I get close. Question from user Oast at gaming.stackexchange.com. Answer:...[More]


Which companions are longterm compatible for recruitment in Baldurs Gate 3? Which companions are longterm compatible for recruitment in Baldurs Gate 3?

Posted On: August 29, 2023
Having just finished my first play-through of BG3, I'm contemplating a replay. One of the things that would make a replay more interesting would be if I could recruit all the companions I failed t...[More]


Unsupported resolution in Mirrors Edge Unsupported resolution in Mirrors Edge

Posted On: January 24, 2023
I just installed the game, Mirror's Edge but unfortunately my LCD monitor isn't supporting its default resolution. My LCD monitor's resolution is 1024x768 60Hz. Question from user Te...[More]


Why is Lae'zel dead ? Why is Lae'zel dead ?

Posted On: January 9, 2026
I just started playing (bought the game Jan 1) and almost at the end of Act 1. .After the crash, I found Shadowheart, Astarion, and Gale straightaway but could never find Lae'zel. .When I was at Risen...[More]


What are the NASA Moon and Jupiter map images? What are the NASA Moon and Jupiter map images?

Posted On: September 18, 2023
When you first load up Starfield, this text is displayed:. The part I am interested in is:. Moon maps Image Credit: NASA's Scientific Visualization Studio. Jupiter maps Image Credit: NASA Go...[More]


How do I get back to the Dunes after entering the Steamworks on the Genocide Route? How do I get back to the Dunes after entering the Steamworks on the Genocide Route?

Posted On: April 9, 2024
I am doing a Genocide Route run of Undertale Yellow. After finishing the Dunes and entering the Steamworks, I realized I had accidentally missed an item that would help with the final boss. The Golden...[More]


In what way is super mario advance 2 less difficult than the original game? In what way is super mario advance 2 less difficult than the original game?

Posted On: March 2, 2024
The Wikipedia article for Super Mario World states that the Gameboy Advance version (Super Mario Advance 2) has a 'toned down difficulty' compared to the original game. However, I am curious as to how...[More]