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]

BG3 Rites of Passage BG3 Rites of Passage

Posted On: April 18, 2026
In another thread about using Divine Intervention again Raphael, and finding out that’s a very bad idea if you’re unprepared, several people posted some variation of “It happens to everyone at l...[More]


Is it possible to get a Diamond Shovel from a Toolsmith villager in Minecraft Java Edition? Is it possible to get a Diamond Shovel from a Toolsmith villager in Minecraft Java Edition?

Posted On: March 3, 2023
According to the Wiki and some forums, an Expert-level Toolsmith villager can offer three types of trades. Diamond -> Emerald. Emeralds -> Enchanted Diamond Axe. Emeralds -> Enchante...[More]


Does closing the game reset Blood Moons timer in Breath Of The Wild? Does closing the game reset Blood Moons timer in Breath Of The Wild?

Posted On: July 23, 2023
According to Zelda dungeon, Blood Moon regularly occurs every 2 hours and 48 minutes of gameplay (every unskipped 7 days in-game). Another answer confirms that it's a time-based event. So I&...[More]


Which is your favorite season at Hogwarts? Which is your favorite season at Hogwarts?

Posted On: September 19, 2023
Question from user gift_of_the-gab at HogwartsLegacyGaming at reddit. Answer: Late Summer - Autumn. Once it gets to Halloween it’s gone too far because it’s too themed. I feel lik...[More]


Does Lore Bard get good at later levels? Does Lore Bard get good at later levels?

Posted On: September 25, 2023
Hey all, I know basically all straight classes end up good enough, but I am trying to decide between a pure sorcerer or pure bard. I have a paladin/warlock sitting at the start of ACT 3 and just got b...[More]


How can I teleport to an unloaded entity in Minecraft? How can I teleport to an unloaded entity in Minecraft?

Posted On: June 21, 2023
I am using invisible invulnerable ArmorStands to create "warps" and "homes" in a map. The idea is that I can spawn them in with a specific name, and then teleport a player back to ...[More]


Why is Hogwarts legacy such a crap game? Why is Hogwarts legacy such a crap game?

Posted On: July 4, 2023
Literally the shadow troll boss is the most bullshit thing gaming has ever endured. Loading screens are everywhere the characters movement is diabolical and the mix of unblockable attacks with norm...[More]


Is there an easier way to fuse materials to a melee weapon in ToTK? Is there an easier way to fuse materials to a melee weapon in ToTK?

Posted On: May 15, 2023
When shooting an arrow, there's a single-button prompt to fuse a material from your inventory to the arrow. However, so far, the only way I've found to fuse a material (monster horn, etc) to y...[More]


Gale dropped haste and idk why Gale dropped haste and idk why

Posted On: October 3, 2023
I don’t think this actually has spoilers but it takes place in act 3. Ok so manip cast command, but tav cancelled it with psionic dominance and shadow heart used the backlash. Idk who he was tar...[More]


Existence of different Super Mario World versions Existence of different Super Mario World versions

Posted On: January 26, 2023
Years ago, I had an argument with a friend about the colors of the Yoshis in Super Mario World. I claimed them to be green, red, yellow, and blue; my friend argued that the colors were green, red, yel...[More]