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 does Skyrim determine if a dungeon is cleared? How does Skyrim determine if a dungeon is cleared?

Posted On: July 19, 2022
Skyrim adds an awesome feature, that lets you know if you have cleared a dungeon or not. This saves a lot of time and effort, because you do not have to revisit every dungeon you have been through lik...[More]


Pokémon Selection Strategy for Emerald Pokémon Selection Strategy for Emerald

Posted On: May 29, 2023
I've gotten about midway into Pokémon Emerald -- completed the third badge (electric badge), and starting to get quite an assortment of Pokémon. The problem is, I can't figure...[More]


Where in Skellige is this shipwreck located? Where in Skellige is this shipwreck located?

Posted On: October 5, 2023
I wanted to find a shipwreck in Witcher 3's Skellige for purposes of a Witcher Tabletop RPG campaign I'm playing, and I found these images of one:. While these images are nice, what they do...[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]


Will setting your time to April 1st bring back April Fools features on Minecraft? Will setting your time to April 1st bring back April Fools features on Minecraft?

Posted On: February 24, 2023
As most people know Minecraft had an April Fools update that removed the inventory entirely only allowing you to pick up one block/item at a time. I was not able to play on April first though so I ...[More]


How do I get Marios hat back after pressing the Yellow Switch? How do I get Marios hat back after pressing the Yellow Switch?

Posted On: September 12, 2023
In the "abandoned" version 0.9 of B3313 (a ROM hack of Super Mario 64), I activated the Yellow Switch which caused Mario to lose his hat. Just like the original version of Super Mario 64, Ma...[More]


How to mute squad member in Call Of Duty Warzone 2.0 DMZ How to mute squad member in Call Of Duty Warzone 2.0 DMZ

Posted On: February 22, 2023
I'm playing in a party and a specific team mate is very loud in the channel. Some people suggest that I can mute them in the Channels menu, but I can see no MUTE option at all in the corner. ...[More]


How did the cat end up in the city in Stray? How did the cat end up in the city in Stray?

Posted On: August 14, 2023
At the beginning of Stray, the cat is walking with his cat friends in nature presumably outside the city. How did the cat end up in the city at the beginning of the game if the city had been sealed? ...[More]


How do I get to the new cow rift in Reaper of Souls? How do I get to the new cow rift in Reaper of Souls?

Posted On: June 25, 2023
There have been reports of a new "cow level" that seems to only be accessible via Nephalem Rifts: Are the Rifts fixed in terms of location (act/area)? Are Rifts the only way to get there?...[More]


What's your BG3 take: Hot or Cold What's your BG3 take: Hot or Cold

Posted On: November 20, 2025
Here's mine: This concept art is significantly better then the Soul Vestment we got.Question from user DC_Lark at BaldursGate3 at reddit.com.Answer:Dame Aylin is cool, but I like the original Nightson...[More]