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 are decals for in Starcraft 2? What are decals for in Starcraft 2?

Posted On: May 6, 2023
What are the Decals in the rewards section used for? Question from user Erv Walter at gaming.stackexchange.com. Answer: Images of StarCraft II buildings and units with decals:. Answer from...[More]


New Player here. Go Explore they said.. Exploring i went.. New Player here. Go Explore they said.. Exploring i went..

Posted On: November 9, 2024
The second thing i came across.https://imgur.com/a/OSaXmuM.Question from user goneafterq at BaldursGate3 at reddit.com.Answer:Did you kill his lovely Butters?! Youve RUINED it! ?.Answer from user spac...[More]


How do I stop a mother from breastfeeding? How do I stop a mother from breastfeeding?

Posted On: March 13, 2024
My colony recently welcomed a dirtmole hybrid into its community. The lil' tyke has -4 metabolism, which means a x200% food requirement, and had not reached one quadrum in age before coming down with ...[More]


Dwarves keep dumping seeds in a corner? Dwarves keep dumping seeds in a corner?

Posted On: January 17, 2023
For some reason, the dwarves keep putting a lot of seeds in once specific corner. Is this supposed to happen?Question from user null at gaming.stackexchange.com.Answer:The answer is that there's also ...[More]


Is there any way into the Abandoned the Zelda Hebra Mine forge tower? Is there any way into the Abandoned the Zelda Hebra Mine forge tower?

Posted On: July 7, 2023
In the Abandoned Hebra Mine, on top of the forge construct tower there is some unusual smoke coming out of the chimney. Is there any way into this tower? Or is there nothing more to it?. I've d...[More]


Which song best represents your Tav - Durge? Which song best represents your Tav - Durge?

Posted On: May 2, 2025
For me it's "Kraken Wanker" by Gnome.As the durge, he's a carefree rapscallion, but also has the power to doom everyone on a whim, and the song really vibes with that paradigm I think.What about you g...[More]


What feats do you use the most? What feats do you use the most?

Posted On: April 19, 2024
For me the staples are every melee attacker has to have savage striker, every spell caster has spell sniper, and usually everyone gets a tough thrown in there as well. What are your go to feats and wh...[More]


How can I show the map layer ui? How can I show the map layer ui?

Posted On: October 20, 2023
With the release of version 4.0 layered maps are now in the game, allowing you to swap between surface level and lower levels. When you select something 'underground' the layers map ui is s...[More]


Can a missed shot in Xcom2 still execute? Can a missed shot in Xcom2 still execute?

Posted On: July 5, 2023
If you have a weapon which has both a Repeater and a Stock attached to it. Is there any chance that a missed shot will trigger the Repeater?. My assumption is that it will not as the actual shot di...[More]


Can you change your crew name? Can you change your crew name?

Posted On: April 28, 2024
Near the start of the campaign of Need for Speed Carbon on PS3, you are asked to pick a crew logo and name. Is it possible to change the crew name later on?Question from user Stevoisiak at gaming.stac...[More]