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]

Is there a way to increase the number of potions I can carry in Final Fantasy 16? Is there a way to increase the number of potions I can carry in Final Fantasy 16?

Posted On: July 25, 2023
I'm still in the early parts of Final Fantasy 16, and Clive can only carry 4 potions and 3 high potions. During certain boss fights, I found myself using them all early on in the fights and not ha...[More]


Can Mummified Hands effect be wasted on a card that already costs 0 energy? Can Mummified Hands effect be wasted on a card that already costs 0 energy?

Posted On: December 26, 2023
The description for Mummified Hand says. Whenever you play a Power, a random card in your hand costs 0 for the turn. Is it possible for Mummified Hand's effect to be wasted by targeting a ca...[More]


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]


What Was Your Favorite Part of the Hogwarts Game? What Was Your Favorite Part of the Hogwarts Game?

Posted On: June 11, 2023
I LOVED Keeper Niamh's trail. When she initially said it may be familiar to a story I heard as a child, I about lost my mind. The Tale of Three Brothers is one of my favorite parts in the mo...[More]


Why does the Tinker aspect only work on some skills in Dead Cells? Why does the Tinker aspect only work on some skills in Dead Cells?

Posted On: April 12, 2023
The description for the Tinker aspect says "Reduce skill cooldown to 1 sec." In practice the cooldown seems to be unchanged on most abilities I've tried (Infantry Grenade, Pollo Power, Tonic, Face Fla...[More]


These XP requirements are a very sour note for me These XP requirements are a very sour note for me

Posted On: August 6, 2023
So I’ll just open with this. I hate side quests. I’m a main campaign only kind of person and if I wanna check out some other things on my own I will but I HATE being forced to do them. . ...[More]


What are some tactics to fortify villages and their population against outside attack? What are some tactics to fortify villages and their population against outside attack?

Posted On: January 29, 2023
I recently discovered my homely village has been ransacked by a marauding horde of zombies. They managed to get inside one of my large apartment houses and wiped out all but two (!) of the village pop...[More]


Rifle in Vault 15 Rifle in Vault 15

Posted On: April 29, 2024
I am reliving old RPG glory in Fallout 1. I am currently in Vault 15 and I remember that you can find the hunting rifle somewhere in the bathroom on the 2nd level. I check all the bathrooms but can't ...[More]


How much Gold would Zevlor have given me for killing the Goblins? How much Gold would Zevlor have given me for killing the Goblins?

Posted On: November 11, 2023
After defeating a camp of goblins and returning to Emerald Cove, I was greeted by the Tiefling Zevlor. He thanked me for killing the Goblins so they could safely travel to Baldur's Gate. He said h...[More]


How much health does an Apple heal? How much health does an Apple heal?

Posted On: January 20, 2023
How much HP does an apple heal? Whenever I pick up an apple the amount healed seems to vary. Does the amount healed scale with my character's maximum HP? Question from user Stevoisiak at gaming...[More]