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]

How do I play VALORANT on a non-Intel, Apple silicon, macOS computer? How do I play VALORANT on a non-Intel, Apple silicon, macOS computer?

Posted On: March 28, 2024
VALORANT, currently, is not on MacOS. It is also not on Steam. You cannot download VALORANT through the website because. Well, there's no button to do so. So how do you get it on Mac?Originally, I tho...[More]


Why does this solution to 5-3 work? Didnt the Prince get eaten? Why does this solution to 5-3 work? Didnt the Prince get eaten?

Posted On: November 26, 2023
In Storyteller, a puzzle game about telling stories that fit a title, I accidentally solved Chapter 5.3 - Duplicity: A Kiss and a Curse without understanding why my solution worked. Kiss, Witch, Pr...[More]


How do I make food? How do I make food?

Posted On: March 29, 2024
In The Planet Crafter, I'm building my base, and I have enough food for now. I don't have any machines to make food, but I know I'm going to eventually run out. I guess that, like with water, I'm goin...[More]


Is Hogwarts Legacy on Hard Difficulty really that difficult? Is Hogwarts Legacy on Hard Difficulty really that difficult?

Posted On: May 26, 2023
I finished downloading the game the other day and I haven’t had time to really start it. I like a bit of a challenge but I don’t want anything too crazy. Question from user Interesting-...[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]


how do i make a stick the runs - Tick freeze how do i make a stick the runs - Tick freeze

Posted On: March 8, 2024
I want to create a Za Warudo stick but I have searched on the internet for answers and found none.Can someone help?Question from user andreas senneset-søtorp at gaming.stackexchange.com.Answer:It is ...[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]


Honkai Star Rail What is Effect Hit Rate? Honkai Star Rail What is Effect Hit Rate?

Posted On: May 15, 2023
Some relics have an 'Effect Hit Rate' stat. What effect is being referred to here and at what point is the hit/no-hit RNG evaluated? Question from user LT_ at gaming.stackexchange.com. A...[More]


Newbie, tips needed please Newbie, tips needed please

Posted On: February 3, 2025
So, new into game. Please tell me: who to keep, who to left in camp? Its very weird system. I know, that I can exchange my group, but what about leveling? That one that I left in the camp, Will ne und...[More]


How frequently do Gibdos spawn from hives? How frequently do Gibdos spawn from hives?

Posted On: August 10, 2023
I'm sitting in front of a Gibdo Hive in front of the. Lightning Temple,. and I'd like to know how efficiently I can farm Gibdo Bones. To make this calculation, I'd like to know how f...[More]