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]

Are any of the quests in Horizon: Zero Dawn time sensitive? Are any of the quests in Horizon: Zero Dawn time sensitive?

Posted On: April 4, 2023
I started playing Horizon: Zero Dawn a few weeks ago and have been focusing mainly on sidequests and exploring the world. I advanced the game just enough so I got to Meridian, but as I collected more ...[More]


how exactly did nocturne become a woman? how exactly did nocturne become a woman?

Posted On: December 11, 2024
Not to be rude but im a divinity player interested in baulders gate so how exactly did it happen is it kinda like elder scrolls where a necromancer goes into a thingy becomes immoble eventually and th...[More]


About the Emperor and Orpheus About the Emperor and Orpheus

Posted On: June 7, 2024
I'll say right away that this is not a debate about who is better, just information.Lately, I've often been told that the Emperor is evil only because the illithids in the bestiary are monsters and ar...[More]


Just need some advice ?? Just need some advice ??

Posted On: November 28, 2025
Im doing my first real play through, and decided to play on tactician and would really like some advice/tips. So far i made it to the cove after finding the guy who can respec your characters. Battle...[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]


Can you import included and DLC tracks from Just Dance 2 into Just Dance 3? Can you import included and DLC tracks from Just Dance 2 into Just Dance 3?

Posted On: June 24, 2023
My wife has been enjoying Just Dance 2 on the Wii since I gave it to her last Christmas and has actually bought a number of additional tracks — enough that I had to buy her a big SD card just fo...[More]


Is Hogwarts Legacy Worth Buying? Is Hogwarts Legacy Worth Buying?

Posted On: April 7, 2023
Calling all Muggles, Wizards, Witches and magical creatures with Classifaction XXXX!. A month on, what are peoples opinions on the game as I'm considering buying it? This can be related to g...[More]


What is the definition of a pug? What is the definition of a pug?

Posted On: February 2, 2023
What is a "pug"? I've heard multiple instances of it used in many MMORPG and FPS games. I've heard of games called "pubs", but those I think reference public games. Is t...[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]


Whats up with Geodudes gen 1 moveset? Whats up with Geodudes gen 1 moveset?

Posted On: May 19, 2023
I read on pokemondb.com that in gen 1 Geodude learns Defence Curl, Harden, Self Destruct and Explosion. This seems like a strange combination of moves to me, and I have two questions. Harden and De...[More]