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]

In Factorio What fuel should I use for my flamethrower turrets? In Factorio What fuel should I use for my flamethrower turrets?

Posted On: May 4, 2023
Version 0.13 adds flamethrower turrets to the game. They can be operated with crude oil, heavy oil or light oil. Does the choice of oil have any impact on their performance? Also, which one is the mor...[More]


Difference between Yakuza 0 and Yakuza 6 Difference between Yakuza 0 and Yakuza 6

Posted On: March 15, 2023
Sometimes I see Asian lives of Ryu ga gotoku 6 (an opus of yakuza). Interested by the game I decided to see if I could order it, but the only one available is Yakuza 0. I quite don't underst...[More]


How to farm large amount of studs in Lego Star Wars The Force Awakens How to farm large amount of studs in Lego Star Wars The Force Awakens

Posted On: March 25, 2023
I have been playing through Lego Star Wars: The Force Awakens. Once you get to the end of the game most of the characters are unlocked but you need to actually "buy" them in order to use ...[More]


What is the definition of a pug? What is the definition of a pug?

Posted On: February 2, 2023
What is a "pug"? I've heard multiple instances of it used in many MMORPG and FPS games. I've heard of games called "pubs", but those I think reference public games. Is t...[More]


Regarding the You didnt need it anyway achievement Regarding the You didnt need it anyway achievement

Posted On: July 28, 2023
In the game Antimatter Dimensions, there is an achievement called "You didn't need it anyway", which is achievable when you: Infinity without having any 8th Antimatter Dimensions. Acc...[More]


Cant restore my Wii: BootMii Wont Work Cant restore my Wii: BootMii Wont Work

Posted On: March 24, 2023
I am trying to restore or un-modify my Wii. When I try to start BootMii from the Home Brew Channel, I get only a black screen. Can somebody please help me? I don't know how the heck I would hav...[More]


Are there American cars faster than NASCAR cars in GT5? Are there American cars faster than NASCAR cars in GT5?

Posted On: May 26, 2023
In B specs I'm trying to win an American championship that only allows American cars. I've tried with a Pilot Level 30 and a NASCAR car, but he can't win. . I'm wondering if ther...[More]


Is there an easy way to distinguish suspicious blocks? Is there an easy way to distinguish suspicious blocks?

Posted On: June 14, 2023
Minecraft 1.20 version introduced two new blocks called Suspicious Sand and Suspicious Gravel, which can be brushed to discover items. Those blocks are very fragile, because you lose their loot when b...[More]


How do I befriend Undyne? How do I befriend Undyne?

Posted On: April 17, 2024
So, I just beat undertale, and I got the neutral ending. At the end, . Flowey told me that I wasn't a good enough friend to Papyrus and Undyne. Then I talked to Papyrus, and he said Undyne wants to b...[More]


Cosmoen Evolution Cosmoen Evolution

Posted On: September 10, 2023
If I evolve a Cosmoen into a Solgaleo, is there a way to get Lunala? Because my goal is to complete the Pokedex, if I evolve my Cosmoen into Solgaleo, what are the ways to get a Lunala? Question fr...[More]