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 many Pokémon were available at the release of Pokémon Go? How many Pokémon were available at the release of Pokémon Go?

Posted On: January 20, 2023
I have googled for this, but can't really put the proper terms to find an answer. At the initial release of Pokémon Go, how many Pokémon were available? I seem to remember legenda...[More]


Is there a way to compare game prices in different stores? Is there a way to compare game prices in different stores?

Posted On: April 25, 2023
Sometimes I get games a bit cheaper on Humble Store or Fanatical, but I wonder: is there's a way to see if it's even cheaper somewhere else? Question from user HappyCat at gaming.stackexcha...[More]


Why do I have to hold down twice to activate this special attack in PokemonGo? Why do I have to hold down twice to activate this special attack in PokemonGo?

Posted On: July 20, 2023
This has been bothering me recently: when my special attack is ready, why do I have to 'hold down' twice to activate it? Yes, sometimes I only have to do it once but the majority of the time I...[More]


Will switching fishing rods break my chain in Holocure Save The Fans? Will switching fishing rods break my chain in Holocure Save The Fans?

Posted On: September 26, 2023
When fishing at the Holo House, you catch extra bonus fish if you successfully catch multiple fish in a row. If I switch to a different fishing rod by talking to Bloop, will it break my fishing chain?...[More]


Which is the original L’Abbaye des morts game? Which is the original L’Abbaye des morts game?

Posted On: March 20, 2024
The game L’Abbaye des morts can be found implemented for many retro and modern systems. For example:.Commodore 64.Sega.ZX Spectrum.It is visible that the game is implemented by different people or c...[More]


Why does the Pokémon count show one more than the actual Pokémon I have? Why does the Pokémon count show one more than the actual Pokémon I have?

Posted On: June 17, 2023
I have 11 Pokémon, none duplicate. But the count at the top shows 12. Is this a bug, or does it count the Pokémon in the egg, too? Question from user Shaunak D at stackexchange. ...[More]


How do I reach the top of this tower of The Erebus Reactor? How do I reach the top of this tower of The Erebus Reactor?

Posted On: May 10, 2023
In Episode 2 Mission 6: The Erebus Reactor of Dusk there's collection of tall towers with metal girders connecting them all through the stage. There's quite a few items found throughout these ...[More]


How do I remove a Steam game from my library? How do I remove a Steam game from my library?

Posted On: November 17, 2022
I like how Steam presents my library to me. However, there is one thing that keeps irritating me every time I open Steam: the Team Fortress 2 Beta. I don't want it, yet it is always in my games li...[More]


Are the Draugr apologizing to me? Are the Draugr apologizing to me?

Posted On: February 4, 2015
Draugr sometimes say "Unstaad Krosis" when attacking. I understand that means "many apologies" in dragon tongue (convo with Paarthurnax). .Does this hint that they are doing something against their wi...[More]


Do the tiles in Bounce n Trounce fall in a random order? Do the tiles in Bounce n Trounce fall in a random order?

Posted On: October 17, 2023
In the minigame Bounce 'n' Trounce, do the floor tiles fall away in a random order? Or is there a predetermined order every time? Question from user Stevoisiak at stackexchange. Answer: ...[More]