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]

How to Trade Between Pokemon Ruby and Sapphire emulator on my Macbook pro? How to Trade Between Pokemon Ruby and Sapphire emulator on my Macbook pro?

Posted On: March 31, 2024
I would like to trade Pokemon for evolution between Ruby and Sapphire emulators for trades. However, I cannot seem to get an emulator that works on my Macbook M1 with Ventura to load 2 games at once.T...[More]


Cant restore my Wii: BootMii Wont Work Cant restore my Wii: BootMii Wont Work

Posted On: March 24, 2023
I am trying to restore or un-modify my Wii. When I try to start BootMii from the Home Brew Channel, I get only a black screen. Can somebody please help me? I don't know how the heck I would hav...[More]


Craziest take you've heard in the BG3 community? Craziest take you've heard in the BG3 community?

Posted On: June 14, 2025
I just saw someone argue unironically that Wyll is meaner than Astarion and Minthara.Question from user DearPersimmon8155 at BaldursGate3 at reddit.com.Answer:evil Durge murder hobo is actuelly the mo...[More]


What does researching Advanced Propulsion Tech I and higher do in Master of Orion 1? What does researching Advanced Propulsion Tech I and higher do in Master of Orion 1?

Posted On: May 6, 2023
It looks like once you've finished researching all available technologies up to tech level 50 in a specific category, you are presented with a set of Advanced Something Tech I to X to research. ...[More]


Strategy for solving Lights Out puzzle Strategy for solving Lights Out puzzle

Posted On: August 26, 2023
Lights Out is a grid-based puzzle where each cell has two states: on/off. You can swap the state of any cell, but when you do so, the adjacent cells (horizontally or vertically) are swapped as well. G...[More]


Do the Illithid powers have any negative consequences? Do the Illithid powers have any negative consequences?

Posted On: August 11, 2023
Throughout the game, you can improve your hidden Illithid Powers skilltree by consuming more mindflayer worms. You also get [Illithid] skillchecks from time to time. However when you do either of t...[More]


What is the True Ending in Hogwarts Legacy? What is the True Ending in Hogwarts Legacy?

Posted On: July 19, 2023
What is the True Ending in Hogwarts Legacy after you've completed the main storyline? The answer in this question explains the main storyline endings, but I'm looking for the so-called &quo...[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]


How to get the Operating Profit Graph for the entire game? How to get the Operating Profit Graph for the entire game?

Posted On: September 6, 2023
The game shows it only for last few years:. Is it possible to get similar graph for the entire game duration? Question from user ZakiMa at stackexchange. Answer: It's not possible. The...[More]


Play DLC witch physical copy on the Switch Play DLC witch physical copy on the Switch

Posted On: January 18, 2023
I bought a physical copy of Civilization VI for the switch. I'm pondering if I should buy the DLC, ("Gathering Storm" and "Rise & Fall"). . Now I'm concerned about a...[More]