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]

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 a way to share vision with opponent in Starcraft 2? Is there a way to share vision with opponent in Starcraft 2?

Posted On: June 25, 2023
There are times that I would like to be able to share vision with my opponents when playing Starcraft 2. This was possible in the original Starcraft, but I can't find a way in Starcraft 2. Situ...[More]


Fallout 4 wont launch after a December 2023 Xbox update Fallout 4 wont launch after a December 2023 Xbox update

Posted On: April 26, 2024
After the Xbox update on December 6th to version 10.0.25398.2917, I am unable to start Fallout 4 anymore. The loading screen is shown, but nothing else happens.I have already tried restarting my Xbox ...[More]


Whats the max limit for each currency? Whats the max limit for each currency?

Posted On: April 10, 2024
The game has six currencies. I just found out the "R" currency caps at 50,000. What about the others?Question from user BlueRaja - Danny Pflughoeft at gaming.stackexchange.com.Answer: Requisition sli...[More]


Export Dance Central Pictures Export Export Dance Central Pictures Export

Posted On: March 23, 2023
How do you export the pictures/animated gifs from Dance Central? Question from user St. John Johnson at gaming.stackexchange.com. Answer: Short Answer. You cannot export the pictures or vi...[More]


Should I reset Should I reset

Posted On: October 7, 2025
I’ve recently beaten kethric thorm and no have the problem of my level is too low and there is simply not enough creatures to fight to raise it to a spot where the difficulty is fair and fun.I’m l...[More]


Bad graphics in Hogwarts Legacy Bad graphics in Hogwarts Legacy

Posted On: June 30, 2023
I just downloaded Hogwarts Legacy today on my PS4, but can't really enjoy it because the graphics are so bad. Shadows flicker and everything looks grainy. Its like the graphics settings are really...[More]


Cannot figure out why the door will not open in Hogwarts Legacy Cannot figure out why the door will not open in Hogwarts Legacy

Posted On: July 17, 2023
I used accio on the handle in the Ranrok evidence search and cannot figure out why the door will not open. I’m worried that I missed something, any suggestions? Question from user Apprehensiv...[More]


Combat Spells in Hogwarts Legacy Combat Spells in Hogwarts Legacy

Posted On: July 26, 2023
What are everyone's favourite combat spells and what do you all group with each other? . I have bombarda, glacius, diffindo, flipendo as my 1st 4. . Expelliarmus and the 3 unforgivable curse...[More]


Hiring a builder in X4 Foundations Hiring a builder in X4 Foundations

Posted On: April 9, 2023
I have gotten to the part in the questline where. the player unlocks the station in Grand Exchange 1. and I can't find a builder on any main station, wharf, or shipyard, I haven't spotte...[More]