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 minecraft command to become immune to damage? Is there a minecraft command to become immune to damage?

Posted On: July 4, 2023
Is there any minecraft command to become completely immune to damage? Question from user Pika Supports Ukraine at stackexchange. Answer: This command will make you invulnerable to most types ...[More]


How many chapters are in Nier Reincarnation? How many chapters are in Nier Reincarnation?

Posted On: April 2, 2024
How many story chapters are in Nier Reincarnation? The game just released its final chapter. I just finished chapter 10 and want to know how many chapters I have left to complete before the game shuts...[More]


Is Porofessor a cheat in League Of Legends? Is Porofessor a cheat in League Of Legends?

Posted On: February 23, 2023
I've been using a legitimate app called Porofessor that provides a lot of helpful info when playing league of legends. Such as displaying objective / jungle camp timers when things will respa...[More]


In Path of Exile, Whats the intended purpose of the Book of Regression? In Path of Exile, Whats the intended purpose of the Book of Regression?

Posted On: March 30, 2023
The Book of Regression, an item you get by vendoring an Orb of Scouring with 1x Scroll of Wisdom, apparently downlevels your character by 1 and resets all exp to 0. What I want to understand is, fo...[More]


Misadventures of P.B Winterbottom leaderboards Misadventures of P.B Winterbottom leaderboards

Posted On: March 24, 2023
The Misadventures of P.B Winterbottom is absolutely brilliant (if maybe a little short). Anyway, now that I've finished it, I'm in the process of going through the bonus shorts (levels), and a...[More]


The combat has ruined this game for me The combat has ruined this game for me

Posted On: March 31, 2025
I think I've given Baldur's Gate 3 a fair shake. I've played through most of Act 1 and I think the characters and writing are great. The combat on the other hand, is absolutely horrendous. Every actio...[More]


How well does the Nintendo Switch perform in terms of graphics compared to the Xbox One and PlayStation 4? How well does the Nintendo Switch perform in terms of graphics compared to the Xbox One and PlayStation 4?

Posted On: February 28, 2023
I'm interested in playing Hogwarts Legacy on Nintendo Switch. Since the Switch is a mobile console, I'm a little concerned the game's graphics might not as good as on the XBOX or PlaySt...[More]


Minecraft Powering a redstone torch on a block adjacent to a redstone lamp without powering the lamp Minecraft Powering a redstone torch on a block adjacent to a redstone lamp without powering the lamp

Posted On: April 1, 2023
Would it be possible to power the redstone torch in this configuration without powering the redstone lamp? Question from user Looky1173 at gaming.stackexchange.com. Answer: I assume by "...[More]


Quidditch Gameplay Help in Hogwarts Legacy Quidditch Gameplay Help in Hogwarts Legacy

Posted On: July 14, 2023
I started playing this amazing game from last 2 days and I remember that when last time I started this game I got to play quidditch match which was amazing. As of now i’m level 12 and still did ...[More]


In SeriousSam, How do I get this body armour located in Tomb Of Ramses III? In SeriousSam, How do I get this body armour located in Tomb Of Ramses III?

Posted On: March 24, 2023
I'm at the Tomb Of Ramses III in Serious Sam HD, and there is some body armour located at the top of an area previously containing an Arachnoid. I'm unable to find anyway up to this area. . ...[More]