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]

Dwarves keep dumping seeds in a corner? Dwarves keep dumping seeds in a corner?

Posted On: January 17, 2023
For some reason, the dwarves keep putting a lot of seeds in once specific corner. Is this supposed to happen?Question from user null at gaming.stackexchange.com.Answer:The answer is that there's also ...[More]


How do restaurants and markets differ in their functions and benefits in Tropico? How do restaurants and markets differ in their functions and benefits in Tropico?

Posted On: May 30, 2023
It seems that both the restaurant and the market are used by Tropicans to satisfy their "food" needs. Since the restaurant has the added convenience of also satisfying the "entertainmen...[More]


Why is the firmware of the Xbox Wireless Controller not updated automatically? Why is the firmware of the Xbox Wireless Controller not updated automatically?

Posted On: January 19, 2024
I have now updated all Xbox Wireless Controllers (the first time since years). I didn't know that I had to do this regularly. Is there a reason why this is not done automatically? Updates to games...[More]


Pretty sure I'm screwed (Myrkul fight: First Honour mode) Pretty sure I'm screwed (Myrkul fight: First Honour mode)

Posted On: March 11, 2025
Hi all, figured it wouldn't hurt to share my current experience and see if there's some way to salvage my run, though I don't see how it's possible. Worst case, I've learned for my next run. .*Note.Pl...[More]


How do I empty a bucket in Vintage Story? How do I empty a bucket in Vintage Story?

Posted On: August 10, 2023
I filled a bucket with water, but can only seem to empty it in a barrel. I just want to pour the water - I don't need it anymore. How do I do that? Question from user Konerak at stackexchange. ...[More]


Me (tiefling warlock) and my friend (dragonborn druid) Me (tiefling warlock) and my friend (dragonborn druid)

Posted On: February 28, 2026
Question from user Vinicius_Pimenta at BaldursGate3 at reddit.com.Answer:I really thought this was r - okbuddybaldur but sometimes the main sub surprises me!.Answer from user InsectHuman8453 at Baldur...[More]


What did you think was the worst quest in Hogwarts and why? What did you think was the worst quest in Hogwarts and why?

Posted On: March 4, 2023
Alright so before any of you answer, you should know I might pick you're comments out for a youtube video so if that's, not what ya down for, then let me know in that comment! . For me 2 qu...[More]


How do I check if the HD textures are correctly loaded? How do I check if the HD textures are correctly loaded?

Posted On: February 15, 2023
Is there a way to check if the HD textures of Skyrim are correctly loaded in the game? I installed them without an error, but I'm not quite sure whether they are actually active, as I can't re...[More]


The combat has ruined this game for me The combat has ruined this game for me

Posted On: March 31, 2025
I think I've given Baldur's Gate 3 a fair shake. I've played through most of Act 1 and I think the characters and writing are great. The combat on the other hand, is absolutely horrendous. Every actio...[More]


How can I see which character has finished a certain level? How can I see which character has finished a certain level?

Posted On: December 19, 2023
I've played most of the levels in Super Mario 3D World with Princess Peach and after I've got Rosalina, then with her. If I want to reach the golden stars for the levels, I have to play each l...[More]