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]

I am currently cooking a grenade in stealth. How do I put it away? I am currently cooking a grenade in stealth. How do I put it away?

Posted On: September 24, 2023
I may have hit the wrong button while trying to answer a radio. How do I put this grenade away? Question from user Unionhawk at stackexchange. Answer: Step 1: Do not panic. Continue holdin...[More]


In Gundam Evolution, What does the percentage mean when enemies are destroyed? In Gundam Evolution, What does the percentage mean when enemies are destroyed?

Posted On: March 20, 2023
Whenever an enemy player is destroyed there's a percentage next to the kill message. What does the percentage mean? Question from user Stevoisiak at gaming.stackexchange.com. Answer: The ...[More]


In Hogwarts a broken moth left me at 99 percent In Hogwarts a broken moth left me at 99 percent

Posted On: March 2, 2023
Question from user SirSquidrift at HogwartsLegacyGaming at reddit.com. Answer: Dont. For me, it was a bugged butterfly chest that left me at 99%, but seriously: The game is great anyway. Yeah, i...[More]


How do you gain treasure from fishing? How do you gain treasure from fishing?

Posted On: March 14, 2024
I know that you can gain treasure from fishing, (Saddles, enchanted books, enchanted bows etc.) but what is the criteria for collecting treasure? Does fishing in a specific biome count? Also, what are...[More]


Cant revivify a Panzer Vulpaphyla Cant revivify a Panzer Vulpaphyla

Posted On: January 1, 2024
I'm trying to revivify a Panzer Vulpaphyla in the game Warframe by going to Son, but the game won't let me. I go to Son's menu and click on Panzer Vulpaphyla, then I choose a random mut...[More]


Red border - frame around screen Red border - frame around screen

Posted On: December 31, 2023
So I was playing ARAM last night, and suddenly I got a red border/frame around my screen. I couldn't move my screen with my mouse anymore. And I had to play with a locked camera for the rest of th...[More]


What can I do with Dragon Bones and Scales? What can I do with Dragon Bones and Scales?

Posted On: August 25, 2015
I've started slaying dragons (like all good Dohvakiin must), and with each beastie I down, I'm getting close to 200 lbs of loot, mostly in the form of Dragon Bones and Scales. These two items are high...[More]


Does Duplication Potion count towards the Velvet Chokers card limit? Does Duplication Potion count towards the Velvet Chokers card limit?

Posted On: January 4, 2024
The Velvet Choker relic effect states "You cannot play more than 6 cards per turn". The Duplication Potion's description says "This turn, your next two cards are played twice"....[More]


What are the benefits of playing with original game CDs? What are the benefits of playing with original game CDs?

Posted On: June 10, 2023
Please don't take me in the wrong sense. I am not advocating for piracy. In fact I want to know about the advantages of playing with original game CDs so that I can attract gamers in my region, in...[More]


Can I abandon my Kerbonaut in space in Kerbal Space Program? Can I abandon my Kerbonaut in space in Kerbal Space Program?

Posted On: February 20, 2023
My little Kerbonaut is currently circling the planet in a stable orbit, and seems to be having a grand ol' time with it. You should see the smile on his face. He's been circling now for what l...[More]