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]

YO-KAI WATCH 2: Fleshy Souls - What donuts should I pick? YO-KAI WATCH 2: Fleshy Souls - What donuts should I pick?

Posted On: March 19, 2023
Right at the beginning of the game you are asked to choose between Soul Donuts and Spirit Donuts. Does this have any actual affect on the game? Does it matter what you pick? Question from user user...[More]


Is there a purpose for the Planet Scanning meters? Is there a purpose for the Planet Scanning meters?

Posted On: September 2, 2023
When scanning a planet, the UI includes meters for each of the resources you might collect. The bars in each of these meters seem to max out when you've collected about 25,000 of the given resourc...[More]


Is there an odds calculator for the starting hand in YuGiOh Master Duel? Is there an odds calculator for the starting hand in YuGiOh Master Duel?

Posted On: March 10, 2023
I play a Blue Eyes deck (handtraps count is still not complete) of 40 cards, here is my main deck list. BEWD x3. Sage with Eyes of Blue x3. White Stone of the Ancients x3. Maxx "C&quo...[More]


How do I unlock Floaro Gardens in Pokémon Legends: Arceus How do I unlock Floaro Gardens in Pokémon Legends: Arceus

Posted On: July 12, 2023
I want to unlock Floaro Gardens in Pokémon Legends: Arceus, but I didn't play Pokémon Sword or Shield. Is there any way to unlock it? Question from user Maria Zapata at stackexcha...[More]


What game is this character on Nintendos eShop from? What game is this character on Nintendos eShop from?

Posted On: April 19, 2024
I've been planning to buy a 3DS and was exploring Nintendo's eShop online and I ran across one of the buttons advertising games with DLC and it has a character that I have never seen before?Does anyon...[More]


Outpost liasion simply wont go away. It has been years already! Outpost liasion simply wont go away. It has been years already!

Posted On: November 12, 2023
I've been visited once by my Outpost Liason. Nevermore any civilization traded with me. I just found the Merchant stuck on a place of my Fortress. I already broadened the way for it to go...[More]


How to view your Steam Year in Review from your profile? How to view your Steam Year in Review from your profile?

Posted On: December 20, 2023
I am unable to find a place where I can see the "My year in review" from my steam profile. I received a mail about it, and thought it was quite informative, and would like to compare this ye...[More]


In Zelda TOTK, What materials do you need to repair the Champion Weapons? In Zelda TOTK, What materials do you need to repair the Champion Weapons?

Posted On: May 23, 2023
After constructing the Boulder Breaker, the goron smith informed me that he would be able to repair it if it breaks, given the materials. What materials do you need to repair the Boulder Breaker? I...[More]


What ship weapon type is designed to take down enemy ship shields and health? What ship weapon type is designed to take down enemy ship shields and health?

Posted On: October 6, 2023
I am finding space combat probably one of the more difficult things in Starfield. In particular, I am on the mission Legacy's End where. I sided with the UC SysDef and destroyed the three defen...[More]


In Civilization5, is there a hotkey for the general Next Move button? In Civilization5, is there a hotkey for the general Next Move button?

Posted On: April 8, 2023
I'm looking for a keyboard hotkey for the generalized "Next Move", "Choose Research", "Unit Waiting for Order" button in the bottom-right corner of the interface. ...[More]