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]

In Pokemon Go does the Vivilion postcard pinning overflow to the next medal? In Pokemon Go does the Vivilion postcard pinning overflow to the next medal?

Posted On: March 3, 2023
If I have a Vivilion medal at 12 out of 15 and then pins 5 postcards for that model, would the medal be completed and the left over of 2 be brought over to the next medal? Or would the new medal st...[More]


Need help with Quest The Man Behind The Moons Need help with Quest  The Man Behind The Moons

Posted On: April 6, 2023
I found all of them except I can't find out how to get behind the Level 2 unlock doors. I can't get Level 2 and 3 to learn until I turn in all the owls. I obviously can't get all the owls ...[More]


How do I quickly exit a stage? How do I quickly exit a stage?

Posted On: April 24, 2024
Is there a way to quickly exit a stage in Shantae: Half-Genie Hero? When I revisit stages to complete an objective or get collectibles, it's annoying to have to re-complete the entire stage.Question f...[More]


Why do you think the Dark Urge kills? Why do you think the Dark Urge kills?

Posted On: April 22, 2025
So I saw a video breaking down the character of the dark urge and several points were made on the motivations for his/her violent actions. .They kill because it’s their nature. Bhaal is their father...[More]


What is the maximum number of tags a mob can have in Minecraft? What is the maximum number of tags a mob can have in Minecraft?

Posted On: February 26, 2023
In minecraft 1.16.1, If you run this command two times: /tag @p add test you will get a message that says, Target either already has the tag or has too many tags. So that means i know there is a limit...[More]


Can two players play a multiplayer game for Game Boy Advance using only one cartridge? Can two players play a multiplayer game for Game Boy Advance using only one cartridge?

Posted On: March 21, 2023
I have two Game Boy Advance units, each with a wireless link accessory. I also have only one copy of The Chronicles of Narnia: The Lion, The Witch, And The Wardrobe. I have tried to connect both units...[More]


Cant disarm missile in Dark Water mission in MW II Cant disarm missile in Dark Water mission in MW II

Posted On: June 15, 2023
As it seems I've encountered a game-breaking bug in MW II in a single player mission on PC. In Dark Water you're supposed to find and disarm a missile. I've found it and got to the cont...[More]


Who picks your locks and disarms your traps... Who picks your locks and disarms your traps...

Posted On: May 18, 2024
. if not Astarion? I'm considering ditching him for the first time in my second run, but he is my lockpicker and trap disarmer, and Act 3 has many areas full of traps and locks. Of course, I could mak...[More]


What ship weapon type is designed to take down enemy ship shields and health? What ship weapon type is designed to take down enemy ship shields and health?

Posted On: October 6, 2023
I am finding space combat probably one of the more difficult things in Starfield. In particular, I am on the mission Legacy's End where. I sided with the UC SysDef and destroyed the three defen...[More]


What Pokemon characteristics are immutable as of gen 9 games? What Pokemon characteristics are immutable as of gen 9 games?

Posted On: February 6, 2023
I'm picking up Pokemon games with Violet and learning about every additions made to the game since gen 2, I'm having a hard time figuring out what are the Pokemon characteristics you can't change thro...[More]