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]

Wait, Spell Scribing from Wizard dips is bad, isn't it? Wait, Spell Scribing from Wizard dips is bad, isn't it?

Posted On: May 5, 2025
Okay, so I know a lot of people, when making a pure spell caster, like to take a single level dip into Wizard, since, at Level 12, you'll be able to learn up to Level 6 spells from scrolls. But isn't ...[More]


What is CP in PokemonGo? What is CP in PokemonGo?

Posted On: April 24, 2023
Pokémon have a statistic called CP. What does it do, and why is it relevant? Is it a substitute for the nonexistent levels and statistics, or is it something completely different? Questio...[More]


i don't know what to do now i don't know what to do now

Posted On: November 26, 2025
ok so i'm in the second act of bg3 but i have no idea what to do next.I can't do the nightsong quest because when i had shadowheart spare nightsong, nightsong got rid of the darkness sure but the sha...[More]


What happens when you scan your 31st Amiibo in Amiibo Tap? What happens when you scan your 31st Amiibo in Amiibo Tap?

Posted On: March 25, 2023
Each time you scan an Amiibo in Amiibo Tap: Nintendo's Greatest Bits, it unlocks a virtual console demo that is tied to the Amiibo you scanned to unlock it. . There are 30 game demos. What happ...[More]


Progression through WoW that avoids spiders Progression through WoW that avoids spiders

Posted On: April 18, 2024
Background: My girlfriend is terrified of spiders. So much so that she cringes and closes her eyes whenever there are spiders on my screen, even if I'm not fighting them. I'm now introducing her to ...[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 to create a free items server in Terraria? How to create a free items server in Terraria?

Posted On: March 7, 2024
I mean like those servers that have chests full of items that never become empty.I am not a game programmer but I think it shouldn't be that hard and I can try it myself.I think they use the TShock se...[More]


Damp wall ignored in Dwarf Fortress why? Damp wall ignored in Dwarf Fortress why?

Posted On: April 26, 2023
I took as granted that Miners always detected damp walls and stopped mining in these cases. But a miner did not detect, or just decided to ignore, an obvious damp wall, and created a leak that led ...[More]


How to enable the lift to Engineering in Executive in System Shock? How to enable the lift to Engineering in Executive in System Shock?

Posted On: June 3, 2023
I'm in Executive trying to take the lift to Engineering but it is disabled and the PA says: "Elevator disabled. Biohazard emergency." I already went to the three groves and disabled t...[More]


What are the requirements of these Steam specific achievements? What are the requirements of these Steam specific achievements?

Posted On: September 24, 2023
Most of the hidden achievements in KoA seem to resolve themselves through normal game play (defeat this guy, complete on hard, etc) so I imagine the answer to this one is going to be along the same li...[More]