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 happens if you play an attack card twice but the targeted enemy dies after its played once? What happens if you play an attack card twice but the targeted enemy dies after its played once?

Posted On: December 17, 2023
Let's say I'm facing a group of two enemies. I play Double Tap which makes it so my next attack is played twice. I then play Anger which does 6 damage and target an enemy that only has 6hp. Wh...[More]


Can I play a single-player game alongside a multi-player party without one affecting the other? Can I play a single-player game alongside a multi-player party without one affecting the other?

Posted On: August 7, 2023
I'm already playing a multiplayer game in BG3. What I want to know is. Can i NOW start a singe-player game by clicking NEW GAME on the main menu. If so, will this allow me to play my single-player...[More]


What do the Dota 2 ranks mean in the context of individual unranked games? What do the Dota 2 ranks mean in the context of individual unranked games?

Posted On: August 10, 2023
When I look at my matches on https://www.dotabuff, I see that it includes ranks like Archon, Crusader, Guardian etc. with each game. However, all these games are unranked (and I have never played a...[More]


Does Circuit Superstars support splitscreen with two (identical) controllers? Does Circuit Superstars support splitscreen with two (identical) controllers?

Posted On: March 19, 2023
Is it possible to play Circuit Superstars in split screen (i.e. local multiplayer) with two (identical) controllers? I know that the game's Steam page mentions both Split Screen and Full contro...[More]


Is there any strategy to 2048 Numberwang? Is there any strategy to 2048 Numberwang?

Posted On: July 22, 2023
I tried out 2048 Numberwang and I can't figure out if there is a strategy to it. Unlike 2048, the numbers keep changing every time you press a key. I just kept randomly pressing the arrow keys unt...[More]


Which game is shown in the Virtual Boy Pro for Nintendo Switch announcement trailer? Which game is shown in the Virtual Boy Pro for Nintendo Switch announcement trailer?

Posted On: April 2, 2024
The recent announcement trailer for the Virtual Boy Pro for Nintendo Switch showcased a game running on the console. It looked like a Legend of Zelda title, with the player character riding a horse ac...[More]


I need help in Hogwarts Legacy I need help in Hogwarts Legacy

Posted On: July 15, 2023
Can someone please tell me why these potions are locked and how I can fix it? I have the needed ingredients for all of them but it’s saying it’s locked. I tried looking it up, found nothin...[More]


Yenna doesn't get enough love. Yenna doesn't get enough love.

Posted On: March 6, 2026
I was going through a few reddit threads to get an idea of whether or not to accept the deals of Orin and Gortash, and whenever someone mentioned the kidnapping, they showed the least care for poor Ye...[More]


Meeting specific person at the end of Life Is Strange Before The Storm Meeting specific person at the end of Life Is Strange Before The Storm

Posted On: May 9, 2023
I just ended a game. After the credits, I noticed that there is the possibility of: . Rachel meeting her mother - Sera. I searched the internet for clues on how I can make this happen. I then re...[More]


Anyone else find slapping the daedalion keys nearly impossible? Anyone else find slapping the daedalion keys nearly impossible?

Posted On: September 8, 2023
Do I have the worst reaction time in the world or is timing the slaps on these damn keys nearly impossible. I've been stuck on this one key for over 20 min just trying to slap it but it's so d...[More]