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]

Waukeen's rest cannot be saved Waukeen's rest cannot be saved

Posted On: July 12, 2025
Hey all. I've just encountered Waukeen's Rest in my save; where I came through the mountain pass, beat Kith'rak Voss and his fellow githyanki soldiers and finally came upon the burning building. IMMED...[More]


I cant find Manaphy in Pokemon Legends Arceus I cant find Manaphy in Pokemon Legends Arceus

Posted On: July 13, 2023
I finished all the tasks, even unlocked the cave, but Manaphy isn't there. I already repeated the process many times, he's not there. Any help? Question from user Maria Zapata at stackex...[More]


Can I change my house later in the game? Can I change my house later in the game?

Posted On: July 19, 2023
Once I've chosen my house, is it possible to change my house to a different house later in the game or do I need to start a new game? Like let's say I've chosen Slytherin as my starting...[More]


How do you target a new player with a command on Minecraft 1.19.3? How do you target a new player with a command on Minecraft 1.19.3?

Posted On: January 16, 2023
I'm currently writing a datapack and want to have a message send only once to a player when they join the server for the first time.I have a rough idea of how I could use scores to say who isn't new, ...[More]


Rolan can fuck himself Rolan can fuck himself

Posted On: April 15, 2026
This man is the only thing standing between me, and platinuming BG3. How do I ensure that he survives.Question from user RangersAreViable at BaldursGate3 at reddit.com.Answer:Convince him to stay in t...[More]


How do I open the Supply Drop in Firewatch? How do I open the Supply Drop in Firewatch?

Posted On: March 27, 2023
On Day 33 of Firewatch I was asked to retrieve a supply drop from the northern part of the park. I found the supply drop, but it's locked with a 4 digit passcode. How do I open the supply drop? Sh...[More]


[Warning: Spoiler] I feel so alone in liking Natsai in Hogwarts [Warning: Spoiler] I feel so alone in liking Natsai in Hogwarts

Posted On: June 24, 2023
I feel like I'm in the twilight zone because I seem to be liking characters in this game that aren't liked by most players. I like Natty the most, and then Ominis and Poppy. Though Poppy is...[More]


In Hogwarts is how do I get to this chest behind the revolving statues? In Hogwarts is how do I get to this chest behind the revolving statues?

Posted On: February 12, 2023
There are some caves that has these chests behind the revolving statues. Standing on the platform rotates and you end up on the other platform, rather than the other side of the wall. How do I get ...[More]


In the Witcher 3, Will I always get the warning that quests may fail? In the Witcher 3, Will I always get the warning that quests may fail?

Posted On: June 8, 2023
Before traveling to the Isle of Mists you get a warning specifying that some quest may fail if you go past this point. The first time I was about to cross this point I double checked that I had comple...[More]


Is it possible to play Prop Hunt in GMod without CS:S? Is it possible to play Prop Hunt in GMod without CS:S?

Posted On: July 5, 2023
I've got GMod and just about every mainstream Valve game excepting CS:S. I'd like to play Prop Hunt, a GMod game mode. Is it possible to play Prop Hunt without CS:S, possibly by obtaining t...[More]