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]

Even Astarion thinks the Druids were assholes Even Astarion thinks the Druids were assholes

Posted On: August 24, 2025
Question from user Gay_Banana180 at BaldursGate3 at reddit.com.Answer:Well if you consider the fact that the Grove was infiltrated by Shadow Druids the lack of hospitality makes sense.Answer from user...[More]


This game is BYO immersion This game is BYO immersion

Posted On: July 13, 2023
Regarding the conversation on how immersive this game is / how immersive it could be: I’ve been having a delightful time doing a kind of DIY immersion. Here’s what I do:. return to the ...[More]


How to catch Latios and Latias? How to catch Latios and Latias?

Posted On: September 20, 2023
I'm starting to play Pokemon Emerald! How can I catch or encounter Latios or Latias in the game? I want this Pokemon so bad! This is my childhood Pokemon because it can one shot Rayquaza! So cool!...[More]


What is the use item in Sam and Max What is the use item in Sam and Max

Posted On: June 23, 2023
This question bothers me since I was a kid. In Sam and Max - Hit the Road, what is the green thing in the "use" icon? Is it a duck? Is it a toy? Question from user Keeper at stackex...[More]


Will the Cursed Swords one-hit death effect apply in Dead Cells? Will the Cursed Swords one-hit death effect apply in Dead Cells?

Posted On: April 18, 2023
The description of the Cursed Sword says "One hit and you're dead", presumably meaning you will die in one hit while it is equipped. However, there's a mutation called Porcupack that...[More]


How exactly does Dammon fix Karlach's engine? How exactly does Dammon fix Karlach's engine?

Posted On: September 24, 2025
I'm sure it's one of those things that are simply left up to the imagination, but still. How exactly does Dammon just fix Karlach's engine? Which is, presumably, in her chest?? Like, does he take it ...[More]


How is vehicle respawn time calculated in Battlefield 1? How is vehicle respawn time calculated in Battlefield 1?

Posted On: March 11, 2023
I was wondering if anyone knew anything about the formula for vehicle respawn time is calculated. For example, the vehicle respawn time could be as simple as 2 minutes after the last vehicle of the sa...[More]


How do I know which version of Minecraft I have? How do I know which version of Minecraft I have?

Posted On: April 26, 2023
I don't know which version of Minecraft I have. I have regular Minecraft, not Java or anything else and I just don't know the version I have. Question from user Azalea at gaming.stackexchan...[More]


Yurgir Fight Yurgir Fight

Posted On: December 16, 2024
This is a tip for fighting Yurgir in the Shar Temple. I tried fighting him a half dozen times and died each time. The combination of creatures aiding him and the grenades took me out too quickly. The ...[More]


What does the Auto icon do? What does the Auto icon do?

Posted On: January 24, 2023
When you're playing a Yu-Gi-Oh! Master Duel game, there are three icons in the bottom right (by default).On the far right is a battle log which lists every action taken by both players (log icon).In t...[More]