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]

Pokemon GO, What does this symbol mean in the Collector research? Pokemon GO, What does this symbol mean in the Collector research?

Posted On: May 1, 2023
In the temporary research there is a challenge to catch specific pokemon. Some are normal, some are event, but there is one that I'm not sure what it means. What does this symbol mean? Qu...[More]


It seems to me that its better to concentrate more on combat plants than potions It seems to me that its better to concentrate more on combat plants than potions

Posted On: June 15, 2023
Since im now 40 hours into the game, it seems to me that its more economic and feasible to concentrate more on keeping your combat plant inventory full than your potions inventory. Producing combat...[More]


Where can I contact roblox support (a real person)? Where can I contact roblox support (a real person)?

Posted On: September 19, 2023
Can someone tell me how to contact Roblox support? I don't mean roblox/support, that's just a bot. I want to talk to a real human who works in Roblox support. Question from user comand100vi...[More]


Pretty Morbid painting to have at Hogwarts, don't you think? Pretty Morbid painting to have at Hogwarts, don't you think?

Posted On: April 7, 2023
Also only painting I found that does not move. Question from user TOKERJOKERSWAY at HogwartsLegacyGaming at reddit.com. Answer: If you do revelio in front of one of them there’s a scrol...[More]


Why do my kneazles have the triangle at the top of their box in Hogwarts Legacy? Why do my kneazles have the triangle at the top of their box in Hogwarts Legacy?

Posted On: March 5, 2023
Why do my kneazles have the triangle at the top of their box in Hogwarts Legacy? Question from user elliebeans90 at HogwartsLegacyGaming at reddit.com. Answer: Its the part of thier tail. ...[More]


How do I survive the vampire attack during the Bloodchill Manor quest? UPDATED How do I survive the vampire attack during the Bloodchill Manor quest? UPDATED

Posted On: January 24, 2023
I've tried several times to live and not contract Sanguinare Vampiris (although, I've only been using Lifeblood, my dwarven warhammer enchanted with the health-point-steal and not the Flames s...[More]


Is there anything for you if you return to spawn island in PUBG? Is there anything for you if you return to spawn island in PUBG?

Posted On: May 1, 2023
Watching the PUBG invitational, I realise that the island where the lobby is (the minute before you get in the plane) is still on the map. While in the match, can you return to that lobby island, a...[More]


“Rest in the Crèche” My Lae’zel cosplay “Rest in the Crèche” My Lae’zel cosplay

Posted On: February 9, 2025
Question from user Frau_Haku at BaldursGate3 at reddit.com.Answer:I was really looking forward to Sunday to share this work! The photographer and I wanted to show Lae’zel from many angles, quite vul...[More]


Will switching fishing rods break my chain in Holocure Save The Fans? Will switching fishing rods break my chain in Holocure Save The Fans?

Posted On: September 26, 2023
When fishing at the Holo House, you catch extra bonus fish if you successfully catch multiple fish in a row. If I switch to a different fishing rod by talking to Bloop, will it break my fishing chain?...[More]


How to do Road to Freedom quest? How to do Road to Freedom quest?

Posted On: January 23, 2023
I started the Road to Freedom quest but the marker on the map disappeared and I am not sure what to do at this point? How do I progress with this quest? Question from user Matas Vaitkevicius at ...[More]