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]

Hogwarts Legacy Collectors Edition Trophy Troubles Hogwarts Legacy Collectors Edition Trophy Troubles

Posted On: March 10, 2023
So I am trying to Platinum the game and I hace finally got all of the collections completed but I still don't have the trophy. The trophy says I only have 602/603, am I missing something? Does any...[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]


What benefit does Clash Of Clans upgrading walls have? What benefit does Clash Of Clans upgrading walls have?

Posted On: May 8, 2023
The cost for a level one to level two wall upgrade seems huge - 1000 gold per segment. The upgrade screen displays an increase in hitpoints but is this really noticeable? Can a wall breaker still one ...[More]


Hogwarts Legacy - No makeup - beards? Hogwarts Legacy - No makeup - beards?

Posted On: March 7, 2023
I just realized after beating the game and watching some people play that we don't have makeup or beards! Like aren't we 15-16 years old? Surely we can get a little scruff and put on some blus...[More]


Can the Japanese version be played in English? Can the Japanese version be played in English?

Posted On: February 1, 2023
Can the Japanese version of Pokémon Conquest be played in English (via a setting menu or something)? Or can that version of Pokémon Conquest only be played in the Japanese language?Question from...[More]


How much HP does Ygdar Orus Li Ox revive you with? How much HP does Ygdar Orus Li Ox revive you with?

Posted On: April 12, 2023
The "Ygdar Orus Li Ox" mutation "saves you one time if you die prematurely while not cursed". Do you stay at 1hp when you get saved, or do you get a bit of extra HP so you don'...[More]


How many dead horses will the Horse God, Malanya, remember? How many dead horses will the Horse God, Malanya, remember?

Posted On: August 15, 2023
After paying to unlock Malanya, the Horse God, you can revive horses that you had boarded that have reached a state of no longer living. Is there some kind of limit on how many horses are available to...[More]


What are the requirements of these Steam specific achievements? What are the requirements of these Steam specific achievements?

Posted On: September 24, 2023
Most of the hidden achievements in KoA seem to resolve themselves through normal game play (defeat this guy, complete on hard, etc) so I imagine the answer to this one is going to be along the same li...[More]


Be honest: did any parts in BG3 make you cry? Be honest: did any parts in BG3 make you cry?

Posted On: July 14, 2024
Anything from misty eyes and sniffles to bawling your eyes out will count! ?.I can think of a few (and mind you, I get really attached to the sympathetic NPC's in the games I play!):.Astarion's defea...[More]


Does Echo Form stack with itself? Does Echo Form stack with itself?

Posted On: January 4, 2024
The description for the Power card Echo Form states. The first card you play each turn is played twice. What happens if you play Echo Form multiple times in a battle? Does the first card played ...[More]