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]

Why did Donkey Kong 64 require more than 4 MB of memory? Why did Donkey Kong 64 require more than 4 MB of memory?

Posted On: August 1, 2023
As most of you know, the N64 Donkey Kong game had a game breaking bug on the 4 MB memory version. They needed to include the expansion memory just so that bug wouldn't happen. I can imagine in ...[More]


What determines Ranalds Gift in Warhammer Vermintide 2? What determines Ranalds Gift in Warhammer Vermintide 2?

Posted On: May 29, 2023
Ranald's Gift seemingly gives random amounts of progress towards loot boxes. What determines how much progress you get? Or is it purely RNG? Question from user NoBugsOnlyFeatures at gaming.stac...[More]


Is there anyway to help a pinned down teammate? Is there anyway to help a pinned down teammate?

Posted On: June 12, 2023
A reoccurring theme in the game is you will often get jumped by a hostile who will pin you to the ground and pummel you until you mash a button enough times to get them off of you. If this happens to ...[More]


How do I make mobs slowly respawn up to a certain cap? How do I make mobs slowly respawn up to a certain cap?

Posted On: January 27, 2023
I am currently making a Legend of Zelda themed adventure map. I am struggling to make it, so enemies spawn every few minutes but not spawn large amounts over time. I have tried using things like hoppe...[More]


Cat Challenge in Hogwarts Legacy Cat Challenge in Hogwarts Legacy

Posted On: June 25, 2023
I wish there was a challenge where you could go around and pet all the cats in the game. Do you pet the cats or run by them? Question from user oogieboujie at HogwartsLegacyGaming at reddit. Ans...[More]


What is the equivalent to the blood moon when in the depths? What is the equivalent to the blood moon when in the depths?

Posted On: June 13, 2023
I've run around the depths for quite a while (100%-ed the lightroots) and I realized. I never saw a blood moon in the depths. The blood moon is essential because it causes enemies/ores to respa...[More]


The Polyjuice Potion didn't wear off completely The Polyjuice Potion didn't wear off completely

Posted On: April 7, 2023
I'm in shock and awe. I actually had half a mind to play the rest of the game like this because what tf even. I guess what happened is that when the Polyjuice Potion wore off, it didn't remove...[More]


Do double damage taken modifiers from red skulls stack in Dead Cells? Do double damage taken modifiers from red skulls stack in Dead Cells?

Posted On: April 8, 2023
I picked up two items marked with red skulls that increase damage taken by 100%. However, I noticed the skull over my head still only says x2 instead of x3 or x4. Do double damage taken modifiers f...[More]


How do I know which version of Minecraft I have? How do I know which version of Minecraft I have?

Posted On: April 26, 2023
I don't know which version of Minecraft I have. I have regular Minecraft, not Java or anything else and I just don't know the version I have. Question from user Azalea at gaming.stackexchan...[More]


What's your BG3 take: Hot or Cold What's your BG3 take: Hot or Cold

Posted On: November 20, 2025
Here's mine: This concept art is significantly better then the Soul Vestment we got.Question from user DC_Lark at BaldursGate3 at reddit.com.Answer:Dame Aylin is cool, but I like the original Nightson...[More]