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 is the difference between these values on Steam? What is the difference between these values on Steam?

Posted On: January 20, 2023
Downloading Warhammer: Vermintide II, I noticed how the percentages as displayed in 3 different places have 3 different values:. Download bar on the Downloads tab of the Steam client, (click for or...[More]


Will unplucked pikmin be left behind at the end of a day? Will unplucked pikmin be left behind at the end of a day?

Posted On: March 31, 2024
In Pikmin 1, if I have Pikmin sprouts I haven't plucked yet, what happens to the unplucked Pikmin when a day ends? Will they be left behind?Question from user Stevoisiak at gaming.stackexchange.com.An...[More]


Hearthstone keeps crashing on Lutris on Ubuntu Hearthstone keeps crashing on Lutris on Ubuntu

Posted On: June 5, 2023
I just installed Lutris to play Hearthstone on Ubuntu. Battle.net launcher and the game launches, the bar door screen, Hearthstone text, settings and social buttons appear then the game shuts down. . ...[More]


Differences between PS3 and Wii version of Rock Band The Beatles Differences between PS3 and Wii version of Rock Band The Beatles

Posted On: March 23, 2023
I'm considering buying Rock Band The Beatles for my only gaming console, the Nintendo Wii, but I was wondering if there are any big differences between the version on Wii and the version on Playst...[More]


Avoiding detection while hacking the computer in one step ahead Avoiding detection while hacking the computer in one step ahead

Posted On: October 22, 2023
I'm on New Game Plus x2 (NG+2) in Starfield (PC). On my first run, I completed the "One Step Ahead" Ryujin quest by going to CeltCorp, waiting until the security officer left the office ...[More]


Which is your favorite season at Hogwarts? Which is your favorite season at Hogwarts?

Posted On: September 19, 2023
Question from user gift_of_the-gab at HogwartsLegacyGaming at reddit. Answer: Late Summer - Autumn. Once it gets to Halloween it’s gone too far because it’s too themed. I feel lik...[More]


Hogwarts Avada Kedavara Hogwarts Avada Kedavara

Posted On: July 5, 2023
Can I still learn or is it too late?. I told Sebastian nobody should use the curse and then I told Ominis that we should turn him in. Will I get another chance to learn it or have I completely scre...[More]


How do restaurants and markets differ in their functions and benefits in Tropico? How do restaurants and markets differ in their functions and benefits in Tropico?

Posted On: May 30, 2023
It seems that both the restaurant and the market are used by Tropicans to satisfy their "food" needs. Since the restaurant has the added convenience of also satisfying the "entertainmen...[More]


Did any of Metagaming Concepts board games make it to the PC? Did any of Metagaming Concepts board games make it to the PC?

Posted On: June 11, 2023
I loved Metagaming Concepts' board games like Ogre and WarpWar and always thought that they could have been made into PC games. Did any of Metagaming Concepts' board games make it to the PC...[More]


What does the keyword Treble do? What does the keyword Treble do?

Posted On: April 14, 2024
What does the keyword Treble do? The following description is not clear to me.Add Treble to the left side. Other Keywords x2 -> x3.Question from user GnomeSlice at gaming.stackexchange.com.Answer:Ot...[More]